Home

Communication Horizons
established 1986

Home
Contact

 

Knowledgebase Index
About Us
Contact
Legacy Products


Communication Horizons
65 High Ridge Rd. #428
Stamford CT 06905

support

800-480-1604
203-321-1278
fax  286-1056

       

Knowledgebase


>>ITEM: N0122

>>DATE: March 26, 1998

>>TYPE: Information

>>TITLE: N_REDIRECT fails if redirection already active

>>PRODUCT(S):
NetLib 6.5x for Clipper
NetLib 2.5x for FoxPro Windows
NetLib 2.5x for FoxPro DOS

>>PLATFORM(S):

>>SUMMARY:
Attempting to redirect a device with N_REDIRECT will fail if the device is already redirected.

>>MORE INFORMATION:

>>RESOLUTION/FIX:
Use N_REDIRECT(device,"") to cancel redirection before creating new redirection.

>>EXAMPLE(S):

* returns .F. if redirection already exists
? N_REDIRECT("LPT1",\\Isis\HP5",3)
.F.

* cancel redirection first
=N_REDIRECT("LPT1","")
IF N_REDIRECT("LPT1",\\Isis\HP5",3)
? "LPT1 redirected to:", N_REDIRECT("LPT1")
ENDIF

>>SEE ALSO:
N01020, N01021

>>COPYRIGHT 1998 Communication Horizons
All rights reserved worldwide. No distribution without specific consent of publisher.


Knowledgebase Top Home

 

© Copyright 2001 Communication Horizons LLC.
“NetLib” and “Encryptionizer” are Registered Trademarks of Communication Horizons.
US and international patents pending.
Updated 29 Dec 2001