Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: not valid Wins32 system  (Read 3183 times)

0 Members and 1 Guest are viewing this topic.

gewhit

  • Guest
not valid Wins32 system
« 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

killerb255



    Adviser
  • Thanked: 35
    • Experience: Expert
    • OS: Windows 7
    Re: not valid Wins32 system
    « 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! :)
    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
      Re: not valid Wins32 system
      « 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 »
      KornmonGrim helping people with their computer needs for free.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: not valid Wins32 system
      « 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.
      I was trying to dereference Null Pointers before it was cool.