How can I run DOS commands with @Command([Execute]?

Hi all,

a collegue wants to distribute a DOS command via email like:

attrib -r d:\aarbeit\test*.*

We tried it with:

@Command([Execute]; “cmd /c attrib -r d:\aarbeit\test*.*”

but get the message:

“Unable To locate program”

We tried it also without the “cmd /c” - same result

Thanks for any help in advance

Uwe

Subject: Try: @Command([Execute]; “cmd”; “/c attrib -r d:\aarbeit\test*.*”)

Subject: Thanks :slight_smile: – 1st test runs very well (with W2k)

I have to test it also with WinNT 4

Uwe

Subject: RE: Try: @Command([Execute]; “cmd”; “/c attrib -r d:\aarbeit\test*.*”)

If the client is running Windows 98, I think it will be “command” instead of “cmd”, and the parameters may be different.

Subject: how can I run DOS commands with @Command([Execute] ?

Look at the Shell command in LotusSCript Help