Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyFile not working with captured port
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00510833
Message ID:
00512685
Views:
8
This message has been marked as the solution to the initial question of the thread.
>> Try using the name of the print server, rather than the Name of the Novell host server.
>
>Actually, the pq-compserv-prog is the name of the specific print queue not the name of the print server.
>
>I've tried the net use command on the Win9x machine and have not yet been able to get it to accept the syntax (and I've tried just about every combination of server name, context name, print queue and/or print server name). I get the same result each time: error 53: The computer specified in the network path can not be located. ...
>
>The thing that really bugs me is that I can then walk over to the Win2k machine and do the exact same net use command and it works fine.
>
>The same is true of the CopyFile command in VFP. It won't work on my Win9x machine but I walk over to the Win2k machine and it works like a charm. Surely Win9x and Win2k don't use a completely different syntax for addressing a shared print queue?
>
>It seems like in both cases, the problem boils down to the fact that Win2k likes the syntax "\\ntm_2001\pq-compserv-prog" where Win9x won't accept it.

You actually hit the issue squarely; some versions of Win9x don't like sharenames in excess of 12 characters. You might try creating an identical queue on the server with a shorter queue name and see if it helps.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform