Questions tagged [doskey]

Windows command that recalls previously entered command-line commands, edits command lines, and creates command macros. Cannot be used in a batch file.

Documentation:

54 questions
0
votes
0 answers

Linking DOSKEYS in the Terminal

I have written some short DOSKEYS that I've got in a .bat file. I have one that let's me run a python program from any directory as long as i know the python file's directory and I have one that lets me run my python file if I know the directory of…
Ivar Eriksson
  • 863
  • 1
  • 15
  • 30
0
votes
1 answer

How can I create a short command to launch a browser (Internet Explorer is what I'll use) running as another account

I would like to start Internet Explorer as a different user through a command line alias. I liked the approach of using an AutoRun registry setting to call an environment setting script. So I have an AutoRun registry key (REG_SZ) setup for…
AgentExe
  • 17
  • 4
0
votes
2 answers

Get IP address on Windows 7 via command line

I have a list of aliases defined in a command file (aliases.cmd) that I load whenver I run a command prompt (cmd.exe /k aliases.cmd). Using doskey, I have several aliases defined and I am trying to create one to show only my IP address. I came…
Matt
  • 2,503
  • 4
  • 31
  • 46
0
votes
1 answer

How to add several values for a single key in Windows Registry

I'm trying to add an entry for AutoRun with value doskey selenium=java -jar C:\dev\selenium-server-standalone-2.45.0.jar to HKEY_CURRENT_USER\Software\Microsoft\Command Processor. However the AutoRun key has already a value (if…
Stephane
  • 4,978
  • 9
  • 51
  • 86
0
votes
1 answer

How to detect Down and Up Arrow Keys While DridGridView is in Edit Mode

I'm working with a DataGridView in vb.net which populating a listbox while editing. How ever I'm trying to move the focus to the listbox by pressing the down arrow key. But the default down arrow key property is not working while the DataGridView is…
Arpan
  • 596
  • 2
  • 10
  • 29
0
votes
1 answer

Using doskey to spawn multiple instances of explorer

So I'm trying to create a Doskey alias to spawn 3 instances of windows explorer, opening 3 different directories. I have my cmd.exe shortcut set up to read from file.cmd which has the following inside: @echo on DOSKEY ls=dir DOSKEY…
0
votes
1 answer

From bat - open cmd, load doskey macros, and execute a macro

Is it possible to use cmd /k "doskey /macrofile=C:\myMacros.cmd && macroCommand" from a bat file. I have tried that as well as start cmd.exe /k "doskey /macrofile=C:\myMacros.cmd && macroCommand". How can I make this work? I googled a little and…
dylnmc
  • 3,810
  • 4
  • 26
  • 42
0
votes
1 answer

Setup aliases on Windows 7 using doskey to call .py file

I have a global .py file which need to be run from my project directory. python C:\path\to\global_python.py param1 Because of the path to .py file is quite long, so I'm trying to set alias using doskey. I have successfully setup aliases as below…
Artisan
  • 4,042
  • 13
  • 37
  • 61
0
votes
2 answers

DOSKEY to change path and run a command

So I have two things I need to do, and it seems DOSKEY is the way to go but i am new to it. What I am trying to do is from the C prompt is change drives to D, then go into a folder called run_folder then execute a command that its redirect into a…
user990951
  • 1,469
  • 5
  • 26
  • 36
1 2 3
4