mIRC Home    About    Download    Register    News    Help

Print Thread
#137795 19/12/05 09:52 AM
R
Richard
Richard
R
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: 755
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 755
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.

#137797 19/12/05 10:38 AM
R
Richard
Richard
R
/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
C
CtrlAltDel
CtrlAltDel
C
//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)

#137799 19/12/05 06:38 PM
Joined: May 2005
Posts: 449
B
Fjord artisan
Offline
Fjord artisan
B
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