in reply to software inventory

Are you sure that the ver() command is what you want?
C:\Documents and Settings\ogb> ver /c The syntax of the command is incorrect.
This is on Windows XP, SP2 plus security patches.

Update:

C:\Documents and Settings\ogb> help ver Displays the Windows XP version. VER
It looks like /c isn't valid

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^2: software inventory
by grashoper (Monk) on May 12, 2008 at 22:10 UTC
    Yeah I thought the /c would create a seperate instance of the command prompt guess not..whoops.. that may be all I need to fix, thanks, it does create the file, it just doesn't have the os in it, that explains why.
      Actually its cause perl doesn't release the filehandle, it locks it and it won't let me modify, not sure how to get around this problem, I just made up another filename, I do want to fix but may be using netwallah suggestion instead as I think they want more than just software in their inventory. thanks to all of you for your input and suggestions.