Script does not run - Full path name has space?
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
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 [EMAIL PROTECTED] 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. ==
Re: Script does not run - Full path name has space?
Try putting that path in the default path for that win2000 box... -Original Message- From: Phillip Guan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 12:53 PM To: [EMAIL PROTECTED] Subject: Script does not run - Full path name has space? 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
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:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 1:12 PM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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. ==
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:[EMAIL PROTECTED]] On Behalf Of Cook, Dwight E Sent: Wednesday, July 11, 2001 11:31 AM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 1:12 PM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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. ==
Re: Script does not run - Full path name has space?
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:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 1:49 PM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] On Behalf Of Cook, Dwight E Sent: Wednesday, July 11, 2001 11:31 AM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 1:12 PM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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. ==