Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using RUN/! on NT Server in version 6
Message
De
05/11/1998 14:09:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using RUN/! on NT Server in version 6
Divers
Thread ID:
00154956
Message ID:
00154956
Vues:
50
I am experiencing problems with a one line of code after upgrading from 3.0 to 6.0, and I think I know why, but can't solve it.

The line is:

mCommand = "WHOIS.EXE DRAGONMYR.COM > C:\TEMP\TEMP.TXT"
Run /N &mCommand

This works fine when I change the default directory to a drive letter that the network drive is mapped to; it does not work if I change the default directory to a network path.

ie. works with
Set default to D:\
but not with
Set default to "\\SERVER1\CUSTOMER MANAGER"

What it does wrong is, it tries to execute the > C:\temp\temp.txt as more command parameters, rather than a DOS pipe.

So, as the DOS window whips past, I see it execute

WHOIS DRAGONMYR.COM

which works fine, but then it tries

WHOIS >

which yields an error, then

WHOIS C:\TEMP\TEMP.TXT

The really odd thing is, if I enter this line into the "RUN" box from the "Start" menu button in Win98, I get the same behavior!

Any Windows gurus out there have a clue?

Tina Robichaux
Interland, Inc.
Tina Robichaux
Interland, Inc.
www.interland.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform