mIRC Home    About    Download    Register    News    Help

Print Thread
#137795 19/12/05 09:52 AM
Joined: Dec 2002
Posts: 4
R
Richard Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2002
Posts: 4
I'm trying to write to a file on the network using /write \\pc\location\file.txt but it's giving me an unable to open error.. i've given 'everyone' full access to the entire directory and to the file but it doesn't seem to be working..

Is there something else that it could be?

#137796 19/12/05 10:12 AM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
im not sure if write supports network locations maybe try writing to your own pc first and then copy to the LAN address maybe trough /copy (again i dont know if it can) or trough a COM snippet that interacts with windows explorer (if there is such a com object) or use a hidden DOS instance to do it, though DOS and networks canbe tricky smirk.


$maybe
#137797 19/12/05 10:38 AM
Joined: Dec 2002
Posts: 4
R
Richard Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2002
Posts: 4
/copy gives the same unable to open error.. i was thinking of making a socket to stream the data through but if a com object or dos transfer works that would save a lot of time..

thanks for the ideas

#137798 19/12/05 12:47 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
//write \\pc\location\test.txt this is a test (from the command line)

this works here .. win 2000 sp4 .. 2 routers between mine and the target pc (running win98se)


I refuse to engage in a battle of wits with an unarmed person. wink
#137799 19/12/05 06:38 PM
Joined: May 2005
Posts: 449
Fjord artisan
Offline
Fjord artisan
Joined: May 2005
Posts: 449
Or map a network drive and then you can write to Z: or whatever the letter is.


Link Copied to Clipboard