Skip to main content

All Questions

Tagged with
1 vote
0 answers
139 views

On Windows 10 taskbar, can I make multiple entries having different launch arguments to same exe?

One of the limitations of the post-xp Taskbar (and Start menu) is that the entries are keyed only on the exe file, and any exe can only have one entry. That means that unlike shortcuts, you can’t have ...
Charlweed's user avatar
  • 255
1 vote
1 answer
18k views

Using the "%~dp0" with command line arguments not working

Been concocting a deployment script for a software, which needs to install Visual C++ 2013 Redistributable, in silent mode, from a moving source (aka, the folder might be on a key, on a server, ...
Alex Pilon's user avatar
3 votes
1 answer
9k views

Command line 7Zip to extract file by specified result path

Is it possible to make 7Zip extract one file by name from archive to specified full path (including new filename)? I've found only: 7zip e <archive> -o<resultDirectory> <filemask> ...
SerG's user avatar
  • 441
3 votes
1 answer
2k views

Command line 7Zip to create archive without extension

If I specify full extensionless result path 7zip adds one corresponding to the type of created archive. How can I make it name the result file exactly as I have specified in command line argument?
SerG's user avatar
  • 441
0 votes
1 answer
3k views

How to pass a variable to a WMI query run in a batch file?

I want to run the following in a batch file and prompt the user to enter "NewUserID", then insert it as a variable. Can this be done with WMI? wmic useraccount where name='user'call rename name='...
Dianda's user avatar
  • 1