ADSM-L

Re: Script does not run - Full path name has space?

2001-07-11 17:12:57
Subject: Re: Script does not run - Full path name has space?
From: Rajesh Oak <rajeshoak AT LYCOS DOT COM>
Date: Wed, 11 Jul 2001 17:13:23 -0400
try the 8.3 format for the file path
c:\progra~1\...

Rajesh Oak
--
On Wed, 11 Jul 2001 14:18:10
On Wed, 11 Jul 2001 14:18:10
 Cook, Dwight E wrote:
>should be able to specify
>cmd /c blah
>like
>        cmd /c "C:\Program Files\BMC Software\obacktrack\bin\myscript"
>the /c says to carry out the command (which follows) then terminate and
>return...
>
>Dwight
>
>-----Original Message-----
>From: Phillip Guan [mailto:pguan AT SANSIA DOT NET]
>Sent: Wednesday, July 11, 2001 1:49 PM
>To: ADSM-L AT VM.MARIST DOT EDU
>Subject: Re: Script does not run - Full path name has space?
>
>
>Hi Dwight and David,
>
>Yes, the script is a .bat file and has some environment and "cd" command
>in it. How do I check/set to use command.com or cmd.exe in W2K services?
>
>Thanks,
>Phillip
>-----Original Message-----
>From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
>Cook, Dwight E
>Sent: Wednesday, July 11, 2001 11:31 AM
>To: ADSM-L AT VM.MARIST DOT EDU
>Subject: Re: Script does not run - Full path name has space?
>
>
>ALSO, forgot this a second ago...
>REMEMBER
>C:\WINNT\system32\command.com  doesn't allow for spaces
>C:\WINNT\system32\cmd.exe      does allow spaces (when enclosed in
>double
>quotes)
>
>double check under which environment you are running
>
>Dwight
>
>-----Original Message-----
>From: David Longo [mailto:David.Longo AT HEALTH-FIRST DOT ORG]
>Sent: Wednesday, July 11, 2001 1:12 PM
>To: ADSM-L AT VM.MARIST DOT EDU
>Subject: Re: Script does not run - Full path name has space?
>
>
>You probably need to setup some environment variables in script or need
>to "CD" to a directory in the script before executing commands.
>
>I guess this is a .BAT file?
>
>David Longo
>
>>>> pguan AT SANSIA DOT NET 07/11/01 01:53PM >>>
>Hi,
>
>We have setup a scheduler to backup the database data. But the script
>works if I put it in the root directory, i.e, c:\; but it doesn't work
>if I put in C:\Program Files\BMC Software\obacktrack\bin directory. Does
>anyone experience this problem?
>
>Thanks in advance for your help!
>
>TSM client: 4.1.2
>OS: Win2000 pro
>
>Best regards,
>Phillip Guan
>
>
>
>"MMS <health-first.org>" made the following
> annotations on 07/11/01 14:16:24
>------------------------------------------------------------------------
>----
>--
>This message is for the named person's use only.  It may contain
>confidential, proprietary, or legally privileged information.  No
>confidentiality or privilege is waived or lost by any mistransmission.
>If you receive this message in error, please immediately delete it and
>all copies of it from your system, destroy any hard copies of it, and
>notify the sender.  You must not, directly or indirectly, use, disclose,
>distribute, print, or copy any part of this message if you are not the
>intended recipient.  Health First reserves the right to monitor all
>e-mail communications through its networks.  Any views or opinions
>expressed in this message are solely those of the individual sender,
>except (1) where the message states such views or opinions are on behalf
>of a particular entity; and (2) the sender is authorized by the entity
>to give such views or opinions.
>
>========================================================================
>====
>==
>


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/