1.

Solve : not valid Wins32 system?

Answer»

Hello, I am running a vista home premium OS but I have a virtual MACHINE running Windows Server 2003. I have a interactive logon tool file that CONSIST of two additional files; one is LRIGHTS.CMD, and the other is NTRIGHTS.exe. When I run the run cmd for the lrights.cmd, I get an error of: c:\Documents and Settings\Administrator\c:\tools\Tools\lrights.cmd is not recognized as an internal or external command, operable program or batch file.
My question; "How do I get these to execute successfully?" I need to have these working properly DUE to the fact, I need to complete hands-on projects for my class.
Any help or suggestions would be greatly appreciated.  Thanks, gewhit It sounds like your VM has an environment variable issue.  It's grabbing both the active path in the command prompt (C:\Documents and Settings\Administrator\) and the path in which the batch script is running from (C:\tools\tools\lrights.cmd).

Either that, or there's something funky in the batch script itself.  After all, I don't think c:\Documents and Settings\Administrator\c:\tools\tools\lrights.cmd is the correct location, and I haven't even seen your VM! *Deleted for FAIL at answering question* Quote from: KornmonGrim on July 20, 2010, 11:55:37 PM

Hello, gewhit

Change the .cmd extension on LRIGHTS.CMD to LRIGHTS.BAT

.bat works on all windows platforms.

.cmd only works on Windows 2K, XP & NT.

Also your problem consists of what killerb255 has said.

.cmd works on NT based versions of windows.

Windows NT 3.1, NT 3.5, NT 4, Windows 2000, Windows XP, Windows Vista, Windows 7. As well as all the server versions.

This covers both their Host and their Guest OS.


Discussion

No Comment Found