dkreifus Posted November 18, 2004 Posted November 18, 2004 What are all the commands which Command Prompt understands? I want to compress the amount of scripting I do.I know:%systemdrive% = Obivously, the drive your Windows Directory is on%CDROM% = CD ROM%username% = name of current user logged in%userprofile% = Documents and Settings\Username
IcemanND Posted November 18, 2004 Posted November 18, 2004 open a command window and type SET will give you a list of environment variables
CoffeeFiend Posted November 18, 2004 Posted November 18, 2004 Those are not commands at all. They've variables.%CDRom% isn't set by default - you have to set it (use a script to do it).You can see all the current ones by doing like IcemanND said, and you can define your own by SET somevar=somevalue ... You could get more infos by looking at a good ol' dos book
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now