Jump to content

Recommended Posts

Posted

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


Posted

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 ;)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...