HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-30-2004, 12:54 PM
bruce
 
Posts: n/a
Default Running batch file from NetWare login script

I have windows XP clients connecting to a NetWare 4.11
server using Microsoft's Client for NetWare services. All
my drive mappings work but I cannot get my batch files to
run that I use to push out updates.
Example:

#Command.com c/Z:\SavUpd.bat

will not execute when my clients logs in.

Any help would be appreciated.

Bruce

Reply With Quote
Sponsored Links
  #2  
Old 06-30-2004, 04:25 PM
Lanwench [MVP - Exchange]
 
Posts: n/a
Default Re: Running batch file from NetWare login script

Did you see my reply to your other, earlier post?

bruce wrote:
> I have windows XP clients connecting to a NetWare 4.11
> server using Microsoft's Client for NetWare services. All
> my drive mappings work but I cannot get my batch files to
> run that I use to push out updates.
> Example:
>
> #Command.com c/Z:\SavUpd.bat
>
> will not execute when my clients logs in.
>
> Any help would be appreciated.
>
> Bruce



Reply With Quote
  #3  
Old 06-30-2004, 06:21 PM
bruce
 
Posts: n/a
Default Re: Running batch file from NetWare login script


>-----Original Message-----
>Did you see my reply to your other, earlier post?
>
>bruce wrote:
>> I have windows XP clients connecting to a NetWare 4.11
>> server using Microsoft's Client for NetWare services.

All
>> my drive mappings work but I cannot get my batch files

to
>> run that I use to push out updates.
>> Example:
>>
>> #Command.com c/Z:\SavUpd.bat
>>
>> will not execute when my clients logs in.
>>
>> Any help would be appreciated.
>>
>> Bruce

>
>
>.
>Yes. Not an option. Need to figure out a way to do this.

Reply With Quote
  #4  
Old 07-01-2004, 02:55 AM
Lanwench [MVP - Exchange]
 
Posts: n/a
Default Re: Running batch file from NetWare login script

bruce wrote:
>> -----Original Message-----
>> Did you see my reply to your other, earlier post?
>>
>> bruce wrote:
>>> I have windows XP clients connecting to a NetWare 4.11
>>> server using Microsoft's Client for NetWare services. All
>>> my drive mappings work but I cannot get my batch files to
>>> run that I use to push out updates.
>>> Example:
>>>
>>> #Command.com c/Z:\SavUpd.bat
>>>
>>> will not execute when my clients logs in.
>>>
>>> Any help would be appreciated.
>>>
>>> Bruce

>>
>>
>> .
>> Yes. Not an option. Need to figure out a way to do this.


OK - that was supposed to be a gentle hint not to multipost (crosspost when
needed, instead) - most people sub to multiple groups, and that way everyone
can follow the thread & not duplicate others' work. :-)

Just noticed that you've got command.com in there - try cmd.exe instead.


Reply With Quote
  #5  
Old 07-01-2004, 12:52 PM
Bruce
 
Posts: n/a
Default Re: Running batch file from NetWare login script


>-----Original Message-----
>bruce wrote:
>>> -----Original Message-----
>>> Did you see my reply to your other, earlier post?
>>>
>>> bruce wrote:
>>>> I have windows XP clients connecting to a NetWare 4.11
>>>> server using Microsoft's Client for NetWare services.

All
>>>> my drive mappings work but I cannot get my batch

files to
>>>> run that I use to push out updates.
>>>> Example:
>>>>
>>>> #Command.com c/Z:\SavUpd.bat
>>>>
>>>> will not execute when my clients logs in.
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Bruce
>>>
>>>
>>> .
>>> Yes. Not an option. Need to figure out a way to do

this.
>
>OK - that was supposed to be a gentle hint not to

multipost (crosspost when
>needed, instead) - most people sub to multiple groups,

and that way everyone
>can follow the thread & not duplicate others' work. :-)
>
>Just noticed that you've got command.com in there - try

cmd.exe instead.
>

I have tried the following versions of my command:

#Command.com c/Z:\SavUpd.bat
#cmd.exe c/Z:\SavUpd.bat
#cmd c/Z:\SavUpd.bat

None of the above works.

I have even tried to put #CMD as my first line of my batch
file according to the following link:

http://www.microsoft.com/resources/d...ion/windows/xp
/all/proddocs/en-us/tab16_utilities.mspx

and this does not work either.

In the first part of my login script I have the following
line:

Map S4 := C:\WIndows\System32\command

This maps a search drive to command. I have tried to
switch this to read:

Map S4 := C:\WIndows\System32\cmd (also cmd.exe)

This does not work either.


Reply With Quote
  #6  
Old 07-01-2004, 03:58 PM
Lanwench [MVP - Exchange]
 
Posts: n/a
Default Re: Running batch file from NetWare login script

Bruce wrote:
>> -----Original Message-----
>> bruce wrote:
>>>> -----Original Message-----
>>>> Did you see my reply to your other, earlier post?
>>>>
>>>> bruce wrote:
>>>>> I have windows XP clients connecting to a NetWare 4.11
>>>>> server using Microsoft's Client for NetWare services. All
>>>>> my drive mappings work but I cannot get my batch

> files to
>>>>> run that I use to push out updates.
>>>>> Example:
>>>>>
>>>>> #Command.com c/Z:\SavUpd.bat
>>>>>
>>>>> will not execute when my clients logs in.
>>>>>
>>>>> Any help would be appreciated.
>>>>>
>>>>> Bruce
>>>>
>>>>
>>>> .
>>>> Yes. Not an option. Need to figure out a way to do this.

>>
>> OK - that was supposed to be a gentle hint not to multipost
>> (crosspost when needed, instead) - most people sub to multiple
>> groups,

> and that way everyone
>> can follow the thread & not duplicate others' work. :-)
>>
>> Just noticed that you've got command.com in there - try cmd.exe
>> instead.
>>

> I have tried the following versions of my command:
>
> #Command.com c/Z:\SavUpd.bat
> #cmd.exe c/Z:\SavUpd.bat
> #cmd c/Z:\SavUpd.bat
>
> None of the above works.
>
> I have even tried to put #CMD as my first line of my batch
> file according to the following link:
>
> http://www.microsoft.com/resources/d...ion/windows/xp
> /all/proddocs/en-us/tab16_utilities.mspx
>
> and this does not work either.
>
> In the first part of my login script I have the following
> line:
>
> Map S4 := C:\WIndows\System32\command
>
> This maps a search drive to command. I have tried to
> switch this to read:
>
> Map S4 := C:\WIndows\System32\cmd (also cmd.exe)
>
> This does not work either.


I haven't worked with Netware or Netware scripts for ages, sorry. Have you
checked in a Netware group for more help? This really sounds likemore of an
issue with the script syntax to me.


Reply With Quote
  #7  
Old 07-01-2004, 05:17 PM
Bruce
 
Posts: n/a
Default Re: Running batch file from NetWare login script


>-----Original Message-----
>Bruce wrote:
>>> -----Original Message-----
>>> bruce wrote:
>>>>> -----Original Message-----
>>>>> Did you see my reply to your other, earlier post?
>>>>>
>>>>> bruce wrote:
>>>>>> I have windows XP clients connecting to a NetWare

4.11
>>>>>> server using Microsoft's Client for NetWare

services. All
>>>>>> my drive mappings work but I cannot get my batch

>> files to
>>>>>> run that I use to push out updates.
>>>>>> Example:
>>>>>>
>>>>>> #Command.com c/Z:\SavUpd.bat
>>>>>>
>>>>>> will not execute when my clients logs in.
>>>>>>
>>>>>> Any help would be appreciated.
>>>>>>
>>>>>> Bruce
>>>>>
>>>>>
>>>>> .
>>>>> Yes. Not an option. Need to figure out a way to do

this.
>>>
>>> OK - that was supposed to be a gentle hint not to

multipost
>>> (crosspost when needed, instead) - most people sub to

multiple
>>> groups,

>> and that way everyone
>>> can follow the thread & not duplicate others' work. :-)
>>>
>>> Just noticed that you've got command.com in there -

try cmd.exe
>>> instead.
>>>

>> I have tried the following versions of my command:
>>
>> #Command.com c/Z:\SavUpd.bat
>> #cmd.exe c/Z:\SavUpd.bat
>> #cmd c/Z:\SavUpd.bat
>>
>> None of the above works.
>>
>> I have even tried to put #CMD as my first line of my

batch
>> file according to the following link:
>>
>>

http://www.microsoft.com/resources/d...ion/windows/xp
>> /all/proddocs/en-us/tab16_utilities.mspx
>>
>> and this does not work either.
>>
>> In the first part of my login script I have the

following
>> line:
>>
>> Map S4 := C:\WIndows\System32\command
>>
>> This maps a search drive to command. I have tried to
>> switch this to read:
>>
>> Map S4 := C:\WIndows\System32\cmd (also cmd.exe)
>>
>> This does not work either.

>
>I haven't worked with Netware or Netware scripts for

ages, sorry. Have you
>checked in a Netware group for more help? This really

sounds likemore of an
>issue with the script syntax to me.
>
>
>.
>Nobody at Novell has been able to help me either. I am

just wondering if I really need the #Command or #Cmd
command. I wonder if I just used the following syntax:

# Z:\SavUpd.bat

If that would work. Do I really need to invoke the dos
shell?
Reply With Quote
  #8  
Old 07-02-2004, 12:55 PM
Bruce
 
Posts: n/a
Default Re: Running batch file from NetWare login script


>-----Original Message-----
>
>>-----Original Message-----
>>Bruce wrote:
>>>> -----Original Message-----
>>>> bruce wrote:
>>>>>> -----Original Message-----
>>>>>> Did you see my reply to your other, earlier post?
>>>>>>
>>>>>> bruce wrote:
>>>>>>> I have windows XP clients connecting to a NetWare

>4.11
>>>>>>> server using Microsoft's Client for NetWare

>services. All
>>>>>>> my drive mappings work but I cannot get my batch
>>> files to
>>>>>>> run that I use to push out updates.
>>>>>>> Example:
>>>>>>>
>>>>>>> #Command.com c/Z:\SavUpd.bat
>>>>>>>
>>>>>>> will not execute when my clients logs in.
>>>>>>>
>>>>>>> Any help would be appreciated.
>>>>>>>
>>>>>>> Bruce
>>>>>>
>>>>>>
>>>>>> .
>>>>>> Yes. Not an option. Need to figure out a way to

do
>this.
>>>>
>>>> OK - that was supposed to be a gentle hint not to

>multipost
>>>> (crosspost when needed, instead) - most people sub to

>multiple
>>>> groups,
>>> and that way everyone
>>>> can follow the thread & not duplicate others' work. :-

)
>>>>
>>>> Just noticed that you've got command.com in there -

>try cmd.exe
>>>> instead.
>>>>
>>> I have tried the following versions of my command:
>>>
>>> #Command.com c/Z:\SavUpd.bat
>>> #cmd.exe c/Z:\SavUpd.bat
>>> #cmd c/Z:\SavUpd.bat
>>>
>>> None of the above works.
>>>
>>> I have even tried to put #CMD as my first line of my

>batch
>>> file according to the following link:
>>>
>>>

>http://www.microsoft.com/resources/d...tion/windows/x

p
>>> /all/proddocs/en-us/tab16_utilities.mspx
>>>
>>> and this does not work either.
>>>
>>> In the first part of my login script I have the

>following
>>> line:
>>>
>>> Map S4 := C:\WIndows\System32\command
>>>
>>> This maps a search drive to command. I have tried to
>>> switch this to read:
>>>
>>> Map S4 := C:\WIndows\System32\cmd (also cmd.exe)
>>>
>>> This does not work either.

>>
>>I haven't worked with Netware or Netware scripts for

>ages, sorry. Have you
>>checked in a Netware group for more help? This really

>sounds likemore of an
>>issue with the script syntax to me.
>>
>>
>>.
>>Nobody at Novell has been able to help me either. I am

>just wondering if I really need the #Command or #Cmd
>command. I wonder if I just used the following syntax:
>
># Z:\SavUpd.bat
>
>If that would work. Do I really need to invoke the dos
>shell?
>.
>Got this to work by using the following command right

after my drive mapping to the Z drive:

# Z:\SavUpd.bat

Later.
Reply With Quote
  #9  
Old 07-02-2004, 12:59 PM
Lanwench [MVP - Exchange]
 
Posts: n/a
Default Re: Running batch file from NetWare login script

Bruce wrote:
>> -----Original Message-----
>>
>>> -----Original Message-----
>>> Bruce wrote:
>>>>> -----Original Message-----
>>>>> bruce wrote:
>>>>>>> -----Original Message-----
>>>>>>> Did you see my reply to your other, earlier post?
>>>>>>>
>>>>>>> bruce wrote:
>>>>>>>> I have windows XP clients connecting to a NetWare 4.11
>>>>>>>> server using Microsoft's Client for NetWare services. All
>>>>>>>> my drive mappings work but I cannot get my batch files to
>>>>>>>> run that I use to push out updates.
>>>>>>>> Example:
>>>>>>>>
>>>>>>>> #Command.com c/Z:\SavUpd.bat
>>>>>>>>
>>>>>>>> will not execute when my clients logs in.
>>>>>>>>
>>>>>>>> Any help would be appreciated.
>>>>>>>>
>>>>>>>> Bruce
>>>>>>>
>>>>>>>
>>>>>>> .
>>>>>>> Yes. Not an option. Need to figure out a way to

> do
>> this.
>>>>>
>>>>> OK - that was supposed to be a gentle hint not to multipost
>>>>> (crosspost when needed, instead) - most people sub to multiple
>>>>> groups,
>>>> and that way everyone
>>>>> can follow the thread & not duplicate others' work. :- )
>>>>>
>>>>> Just noticed that you've got command.com in there - try cmd.exe
>>>>> instead.
>>>>>
>>>> I have tried the following versions of my command:
>>>>
>>>> #Command.com c/Z:\SavUpd.bat
>>>> #cmd.exe c/Z:\SavUpd.bat
>>>> #cmd c/Z:\SavUpd.bat
>>>>
>>>> None of the above works.
>>>>
>>>> I have even tried to put #CMD as my first line of my batch
>>>> file according to the following link:
>>>>
>>>>

>> http://www.microsoft.com/resources/d...tion/windows/x

> p
>>>> /all/proddocs/en-us/tab16_utilities.mspx
>>>>
>>>> and this does not work either.
>>>>
>>>> In the first part of my login script I have the following
>>>> line:
>>>>
>>>> Map S4 := C:\WIndows\System32\command
>>>>
>>>> This maps a search drive to command. I have tried to
>>>> switch this to read:
>>>>
>>>> Map S4 := C:\WIndows\System32\cmd (also cmd.exe)
>>>>
>>>> This does not work either.
>>>
>>> I haven't worked with Netware or Netware scripts for ages, sorry.
>>> Have you checked in a Netware group for more help? This really
>>> sounds likemore of an issue with the script syntax to me.
>>>
>>>
>>> .
>>> Nobody at Novell has been able to help me either. I am

>> just wondering if I really need the #Command or #Cmd
>> command. I wonder if I just used the following syntax:
>>
>> # Z:\SavUpd.bat
>>
>> If that would work. Do I really need to invoke the dos
>> shell?
>> .
>> Got this to work by using the following command right

> after my drive mapping to the Z drive:
>
> # Z:\SavUpd.bat
>
> Later.


Glad you got it working!


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
whats the command to create a new file using batch script kripesh Windows XP 2 09-24-2007 09:12 AM
Login script Windows Vista Dre Windows Vista 2 09-01-2007 07:54 PM
Please help!, I need to exclude files from a batch file running NT Mou Windows XP 1 07-30-2007 10:32 PM
WIndows update batch file script t.salcido Windows XP 3 05-31-2007 04:40 PM
Login Script Doesn't Run Thomas M Windows XP 1 04-16-2007 09:10 AM


All times are GMT. The time now is 10:14 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger