Home / Microsoft / Microsoft Windows / Windows Vista and 7 / not valid Wins32 system
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: not valid Wins32 system  (Read 348 times)
gewhit
Topic Starter
Newbie



Posts: 1


« on: July 19, 2010, 05:33:47 AM »

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
IP logged
killerb255
Adviser



Thanked: 35
Posts: 798

Experience: Expert
OS: Windows 7



« Reply #1 on: July 20, 2010, 10:51:29 PM »

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! :)
IP logged

Quote from: talontromper
Part of the problem is most people don't generally deal with computer problems. So for most they think that close enough is good enough.
KornmonGrim
Rookie



Thanked: 5
Posts: 24


KornmonGrim's Website
« Reply #2 on: July 20, 2010, 11:55:37 PM »

*Deleted for fail at answering question*
« Last Edit: July 21, 2010, 12:32:52 AM by KornmonGrim » IP logged

KornmonGrim helping people with their computer needs for free.
BC_Programmer
Mastermind


Thanked: 682
Posts: 15,633

Computer: Specs
Experience: Beginner
OS: Windows 7


Pinkie Pie is best pony

BC-Programming.com 1 1
« Reply #3 on: July 21, 2010, 12:04:03 AM »

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 <ALL> 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.
IP logged

Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft Windows / Windows Vista and 7 / not valid Wins32 system « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.128 seconds with 24 queries.