Jump to content

Recommended Posts

Posted

I was wondering what differnet varibles there are in bartpe. I'm trying to accsess a file that is in the root of the cd from an other program but when I write cd %systemdrive% in cmd it doesen't work. what I was wondering was if there are anny easy replacement for it.


Posted

%systemdrive% will return x: so you can't cd to it. Just type in %systemdrive%\program.exe to get the program to work. If you type in %systemdrive% when you are on another drive it will take you to the root of the systemdrive just like typing x: would.

Cheers

Posted

Just open a CMD window, and type the command "SET" to get a list of all environment variables supported. Wrap each of those variables with the "%" sign to be used wherever necessary.

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...