login scripts question

G

Guest

My users run a logon script (batch file) at logon. Is it possible to add a
command that would open a word file (or any file type) that is saved on the
server during the script? We would like to have daily notes open at logon
each day.

The following kind of works:
\\servername\sharelocation\filename.doc

The issue is that the dos script stays open until the word document is
closed. Is there a way to force the script to comtiue and close with the
filename.doc still open???
 
P

Pegasus \(MVP\)

jd said:
My users run a logon script (batch file) at logon. Is it possible to add a
command that would open a word file (or any file type) that is saved on the
server during the script? We would like to have daily notes open at logon
each day.

The following kind of works:
\\servername\sharelocation\filename.doc

The issue is that the dos script stays open until the word document is
closed. Is there a way to force the script to comtiue and close with the
filename.doc still open???

Use this syntax instead:

start /b "MS Word" "c:\program files\..\winword.exe"
\\servername\sharelocation\filename.doc

BTW, DOS is a defunct operating system. There is no
DOS under Windows - you probably mean the Command
Prompt.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top