No text displayed in Command Prompt
No text displayed in command prompt. I have checked all the properties of cmd but the problem is still not solved.
See also questions close to this topic
Cannot Install Oculus - Not Enough Disk Space
This post pertains to attempts to install the Oculus software (which is required for development with the Rift) that fail because there's not enough disk space when there in fact is. A little research reveals that this has been a problem since the DK1 and has to do with dynamic disks and the way Oculus installer attempts to ensure that the drive is fast enough.
I hesitated to post this on Stack Overflow, however, I encounter this error when trying to setup a Dev machine for VR development with Oculus, and the solution is sufficiently obscure and not available in a single location yet, and I felt overall it makes sense for it to be here.
You can try going the route of creating a VHD on your dynamic disk, however, for me, even after doing that, the Oculus installer wasn't able to recognize a drive to install on.
I was in a position to reinstall Windows 10. So, with a USB made with the latest Windows 10 installer, my drives were identified as dynamic and GPT and while I could reformat them I couldn't delete them or otherwise change them from dynamic using the GUI.
Retargeting platform toolset
I recently downloaded a project from GitHub which I need in my Visual Studio Solution. However the project was built with a different platform toolset: Visual Studio 2017 - Windows XP (v141_xp) (not installed). Compiling wouldn't work because the toolset required isn't installed.
Q: As I have Visual Studio 2017 with platform toolset (v141) can I tweak the project so that it will no longer ask for v141_xp toolset ? I searched for a way to solve the problem(I really need that project), but the only suggestion so far is to create a new solution with my default toolset and import everything manually from the downloaded project(which is pretty big).
How to serialize a specific object of a List?
Good day, I have a string collection, this strings save the file path to deserialize it in textbox, (my string collection is saved in user settings). Bue the problem here is that I want to check if the text of any textbox changes to then, save it again (upgrade it), the problem here is that the file paths are random, it should be chosen by the user, so we don't know what is the file path of every text box.
how to automate wireshark conversation window to remove empty streams
I am new to wireshark application. can anyone please help me in automate to remove empty streams from conversation window from captured PCAP file. I use window 7, wireshark 1.6.4.
if there is any commands to run from CMD would be more helpful
prompt or PS command to delete folders older than x days
i'm building a setup with inno setup and i'd like to add scheduled task to clean log folders older than X days with single command. I'm searching for some example to make powershell or prompt command, but none works.
Can you help me to find best way?
Can't pass zero arguments to Python program running on Windows command line
When I run the following file directly through the command line
# winargs.py import sys print(sys.argv)
by placing that file in a directory in
PATHand running the command
winargs.pyin either Window Command Prompt or Powershell, I get an unexpected trailing empty string.
I would expect it to output only the script name like so:
I previously could not pass arguments at all before but I followed the instructions here to add a
HKEY_CLASSES_ROOT\Python.File\shell\open\commandregistry key and I can now pass arguments so running
winargs.py a b 1 2outputs
['winargs.py', 'a', 'b', '1', '2']. I am using the Anaconda distribution of Python for Windows and had that Python set as my Default Program for running
*.pyfiles. The registry key I modified after setting the default is
[HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command] "C:\Users\Me\Anaconda3\python.exe" "%1" "%*"
Larger Problem with
This is causing larger difficulties when running scripts written with
argparsethat only have required positional arguments. Instead of printing a help message, it interprets that empty string as the first positional argument. For example, for the program
# winargparse.py import argparse parser = argparse.ArgumentParser() parser.add_argument("first_arg") parser.parse_args()
I see no output running the command
winargparse.pyfrom both the Command Prompt and PowerShell, but expect it to print the default
argparsehelp message as it does when I run
python winargparse.pywhich looks like
usage: winargparse.py [-h] first_arg winargparse.py: error: the following arguments are required: first_arg
How can I get Windows Command Prompt to run my Python files both without arguments and with arguments?