Hello my friends, i'm new in this sphere, i have a one question, how *bat file automaticly mark this http://i46.tinypic.com/314thjd.jpg , and copy this marking information in "file1.txt" file
I mind when i click, let's say FILE.bat, to write ipconfig, and mark information from ipconfig, and copy in file1.txt like this ---> "copy con file1.txt"....
Thank you advance, and i sorry for my bad english
Need help with auto marking
Moderator: DosItHelp
Code: Select all
ipconfig| findstr :> file1.txt
i have one more question this
Where send this file, what i change to send on the C:\Documents & Settings\Administrator\Desktop\d
Code: Select all
@echo off
echo this will send a file
net send (IP to recipient) file1.txt
copy file1.txt
echo file sent
pause
Where send this file, what i change to send on the C:\Documents & Settings\Administrator\Desktop\d
No. COPY command can not create folders.
You must create the folder manually;
or the command MKDIR;
or use the XCOPY command
You must create the folder manually;
or the command MKDIR;
or use the XCOPY command
Code: Select all
echo D| xcopy file1.txt "C:\Documents & Settings\Administrator\Desktop\d" /Y
Code: Select all
echo D| xcopy folder1 "C:\Documents & Settings\Administrator\Desktop\folder1" /Y