Jump to content

Run command help


erikson
 Share

Recommended Posts

i must run a special command

the command is like

CODE
java Varzuitor -d c:\\config.syq F:\\Drivere\\ATI\\SUPPORT\\5-9_xp-2k_dd_cp_wdm_26409\\WDM_SP\\

this command works only if you are in c:\windows directory.

java.exe is located in C:\Program Files\Java\jre1.5.0\bin\ .

the point is : how i make to change directory where the command is runed ?

i will give a example in command prompt ( where it works)

CODE
C:\Documents and Settings\User>cd c:\WINDOWS

C:\WINDOWS>

C:\WINDOWS>java.exe Varzuitor -d c:\\config.syq F:\\Drivere\\ATI\\SUPPORT\\5-9_

xp-2k_dd_cp_wdm_26409\\WDM_SP\\

START!

Durata = 0.031 secs

C:\WINDOWS>

so you see thet the command line works

if i run the command from another location:

CODE
C:\WINDOWS>cd c:\

C:\>java.exe Varzuitor -d c:\\config.syq F:\\Drivere\\ATI\\SUPPORT\\5-9_xp-2k_d

d_cp_wdm_26409\\WDM_SP\\

Exception in thread "main" java.lang.NoClassDefFoundError: Varzuitor

so the big problem is how i make java.exe run from c:\windows?

Link to comment
Share on other sites

You can change folder using FileChangeDir


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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
 Share

  • Recently Browsing   0 members

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