Jump to content
Sign in to follow this  
erikson

Run command help

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?

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...