erikson Posted January 19, 2007 Share Posted January 19, 2007 i must run a special command the command is like CODEjava 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) CODEC:\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: CODEC:\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 More sharing options...
BigDod Posted January 19, 2007 Share Posted January 19, 2007 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 More sharing options...
erikson Posted January 19, 2007 Author Share Posted January 19, 2007 one million thanks BigDod it works perfect Link to comment Share on other sites More sharing options...
Helge Posted January 19, 2007 Share Posted January 19, 2007 You can also set the workingdir directly with Run, by specifying it in the second parameter. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now