Skip to main content

All Questions

4 votes
2 answers
6k views

Equivalent of `$@` for windows shell

I use batch files to create wrappers around some commands which need extra argument to work. For example, I have a file pip.cmd which adds a custom proxy argument to all pip calls: pip.exe --proxy="...
Dmitry Grigoryev's user avatar
1 vote
3 answers
2k views

What is difference between command prompt started via start menu or directly from explorer?

In windows, we can start command line via start menu [start menu >> All Programs >> Accessories >> 'Command Prompt' or just type in cmd.exe start edit box for that matter] The 2nd way is directly ...
zar's user avatar
  • 1,753
2 votes
1 answer
54 views

Navigate to the biggest directory in a directory in windows cmd

I am inside a directory which contains two directories - "games" and "music" and I want to descend into either "games" or "music" depending on which one has a bigger size.
Ankur Seth's user avatar
1 vote
3 answers
35k views

How can I add a program path to the Windows environment variables for easy command line access?

Let's say I want to add the following path to the Windows environment variables: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe Such that I can simply type the following from a command line without using ...
Doug's user avatar
  • 305
7 votes
3 answers
10k views

Command prompt takes 7-8 seconds to load in Windows 7

When I go to Run and type cmd, it takes about 7-8 seconds for the command prompt to appear. I have a Core i5 with 3GB of RAM running Windows 7 x86. I really need the command prompt to run instantly ...
Nandun's user avatar
  • 333
3 votes
2 answers
457 views

Is there any way to know which of the commands are internal & which are external?

I was teaching command line interface to my sister and I taught her what are Internal & external commands (also referred to as Resident and transient commands). Her question to me was which of ...
claws's user avatar
  • 4,359
1 vote
2 answers
144 views

launch a shell from explorer with same working directory

It would be handy if there was a hot key or context menu option that would launch a shell and cd me to whatever directory the focused explorer window is currently viewing. Anyone have an idea? -...
chris's user avatar
  • 201
14 votes
3 answers
30k views

Is it possible to use PuTTY as the UI for the Windows shell?

PuTTY is much better than cmd.exe. Can I use PuTTY to execute Windows commands?
Jader Dias's user avatar
  • 16.1k
1 vote
1 answer
92 views

Developer oriented Windows command shell with bookmarks?

I'm looking for a command shell in Windows 7 ala Powershell that allows me to have bookmarks and such, so I can start a shell in a specific directory, remember command history, have completion for ...
soze's user avatar
  • 11
2 votes
2 answers
797 views

How do I add "Open Folder in cmd.exe" to the shell in Windows 7?

how do I add an option to open a folder in cmd.exe to the context menu of a folder? In Windows XP this can be done by going to the folder options, clicking file types, selecting folder, pressing ...
niklasfi's user avatar
  • 621