Jump to content


Photo

AxCmd mount error returns where?


  • Please log in to reply
1 reply to this topic

#1 eascott

eascott

    1% Member

  • Members
  • Pip
  • 1 posts

Posted 28 September 2007 - 03:18 PM

I would like AxCmd to mount and run if the disk isn't mounted and just run if the disk is already mounted. The AxCmd docs says that the mount operation returns a drive letter or 1 if it fails but both the XP CMD.EXE and the 4NT.EXE shells batch ERRORLEVEL mechanism returns 0 for all the possible conditions, i.e., no command line arguments (which pops up help), command line arguments that mounts and runs, command line arguments that fail because the disk is already mounted (irrespective or whether the program is running or not) and command line arguments that, for any number of reasons, are just wrong.

What am I missing?

Thanks,
Evan Scott
evan.scott@comcast.net

Output from View follows:

=====================================================================

{System report removed - Jito463}

#2 Jito463

Jito463

    Forum Support

  • Support Team
  • 5,625 posts

Posted 29 September 2007 - 05:34 AM

Can you post the batch file you're using? Maybe there's a syntax error.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users