Jump to content

.cmd Help


Recommended Posts

Hello everyone, is there a way to set a variable in a cmd file to get the current path it is located?

like i have test.cmd

start /wait vb6.js

echo complete

i guess it looks for vb6.js in system32 like and gives an eror (file not found)

it extracts in a the temp folder so i cant know the folder path evry time :}

what i am looking for is a variable maybe, that will get the current path somthing like this

test2.cmd

variable1 = $current_path$
start variable1\vb6.js

echo comlpete

Is this possible?

Thanks :hello:

Link to comment
Share on other sites


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