cmd Questions

6

Solved

Can someone give me an example of where a batch script would act differently with or without delayed expansion? Are there any situations where you would NOT want to use delayed expansion? Thanks.

3

Solved

How to fix this error? C:\Users\vanvl\OneDrive\Bureaublad\Progammeren\Project 1.02.2>python Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32 Type ...
Adila asked 7/9, 2022 at 14:34

3

Solved

I want to prompt the user for some input detail, and then use it later as a command line argument.
Syllabi asked 4/10, 2009 at 8:55

3

Solved

I followed this guide: https://docs.solana.com/cli/install-solana-cli-tools#:\~:text=Windows-,Download%20the%20binaries%20by%20navigating%20to%20https%3A%2F%2Fgithub.com,archive%20using%20WinZip%20...
Schug asked 28/3, 2022 at 22:19

6

I've been trying to get SCons to work on the Windows 10 cmd for some time now. I installed it through pip, so I believe it is in the correct directory because python is working in cmd when I use py...
Glinys asked 28/11, 2019 at 23:25

5

Solved

I have written a Vim plugin which shells out to run external commands. Two of the commands I run are diff and grep which can each exit with a non-zero exit code during "normal" operation. (diff ex...
Moore asked 26/2, 2014 at 16:4

7

Solved

I am trying to use openssl to get a certificate, and it seems to keep hanging. I have done a lot of research but not all of the available options seem to work on Windows. openssl s_client -showcer...
Drumfire asked 26/2, 2012 at 2:55

6

Since roughly a week or two ago, I've not been able to use pip at all, as it always kicks back the following error: ERROR: Could not install packages due to an EnvironmentError: HTTPSConnect...
Marilou asked 12/10, 2020 at 3:20

3

Solved

On a Mac, if I want to gzip a file, I just type gzip and then the file name. If I do this in windows, it tells me that "gzip is not recognized...". How do I add this functionality to Wind...
Squinteyed asked 20/4, 2016 at 3:15

10

Solved

Let's say I have "scripts": { "pre-build": "echo \"Welcome\" && exit 1", "build_logic": "start cmd.exe @cmd /k \"yo esri-appbuilder-js:widget && exit 1\"", "post_build": "start...
Takara asked 26/8, 2016 at 18:22

17

Solved

I am trying to rewrite my logging class and I would like to know how to substitute PRETTY_FUNCTION or NSStringFromSelector(_cmd) in a swift file in order to track the method calls?
Tax asked 4/6, 2014 at 22:7

45

Solved

I am stuck with this error no matter what directory I am in, and what I type after "npm" in cmd.exe. Here is the npm-debug.log: 0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Fi...
Crocoite asked 23/1, 2016 at 2:43

3

Solved

Following line recursively deletes only HIDDEN files with .mta extension del /S /A:H <folder_name> *.mta What I want to do is, to delete both: hidden and normal files with .mta extension. ...
Pronunciation asked 11/12, 2011 at 12:1

6

I have a task at work to investigate if it is possible to send AT commands to an android device via ADB shell. So far,I have tried to echo out the AT commands but it passes them as normal str...
Barcarole asked 12/10, 2012 at 8:54

9

Solved

Let's say I have the following files in my current directory: buildBar.bat buildFoo.bat buildHouse.bat And I type the following at my command prompt, ./bu and then TAB. In Bash, it gets expand...
Harlow asked 25/11, 2011 at 3:46

8

Solved

How do I change the command-line prompt into a console? I've been looking in the console functions API, but I could not find anything for it.
Waterloo asked 19/8, 2012 at 17:12

6

I work on Windows 7. Have the following problem. Want to copy a text from Anaconda prompt to a website. I marked a given line in Ancaconda prompt, I click 'mark' in the menu, mark the text - but w...
Scipio asked 3/9, 2018 at 17:41

4

I want to add the OS X El Capitan to my Virtualbox on Windows 7. When I enter this code in the command prompt VBoxManage.exe modifyvm "OS X El Capitan" –-cpuidset 00000001 000106e5 00100800 0098e3f...
Cambium asked 12/8, 2016 at 21:52

8

Solved

I often want to return to the previous directory I was just in in cmd.exe, but windows does not have the "cd -" functionality of Unix. Also typing cd ../../.. is a lot of typing. Is there a faster...
Bighorn asked 10/1, 2018 at 14:47

9

Solved

I added a directory to my PATH but the terminal in my VS Code doesn't recognize a command(exe) that I'm trying to run from that directory. The terminal uses cmd not power shell. What am I missing? ...
Andee asked 2/7, 2017 at 8:2

5

Solved

I am trying to change all the files names in a current folder and I am trying to achieve this either by removing the files prefix (every file has a common prefix) or changing their names to their c...
Thrower asked 18/4, 2012 at 3:53

13

I want to modify the Windows PATH variable using setx. The following works at least 50% of the time on Windows 8: setx PATH %PATH%;C:\Python27\;C:\Python27\Scripts\ If it gives the error "the...
Sewn asked 10/10, 2013 at 4:56

16

Solved

$ adb --help -s SERIAL use device with given serial (overrides $ANDROID_SERIAL) $ adb devices List of devices attached emulator-5554 device 7f1c864e device $ adb shell -s 7f1c864e error: mor...
Bernettabernette asked 1/2, 2013 at 20:46

5

Solved

I am trying to kill chrome from bat file. Tried TASKKILL /IM chrome.exe /F but it doesnt close the chrome. What is the correct way to do that ?
Anthropophagy asked 10/12, 2014 at 23:45

10

Solved

'ls' is not recognized as an internal or external command, operable program or batch file. I get this error when I try to glance at the files of my folder. cmd opened regularly(not as an admin). ...
Philosophism asked 28/2, 2018 at 15:4

© 2022 - 2025 — McMap. All rights reserved.