Search found 4 matches
- 25 Apr 2010 07:18
- Forum: DOS Batch Forum
- Topic: Last logon
- Replies: 1
- Views: 3605
Last logon
ok this is my code so far @echo off echo enter user: set /p user= net user %user% pause now i need to copy the line that says last logon. this line comes up when you do the net user command. i used to know how to do this but ive forgot. i think it invloved using the copy command of some sort. copy.....
- 20 Sep 2009 02:31
- Forum: DOS Batch Forum
- Topic: findstr
- Replies: 1
- Views: 4297
findstr
hi im a little confused. im using the findstr command but something wierd is happening. findstr /I %search% music.txt > results.txt it works but if search contains two or more words i get a wierd output. search contains "artic monkeys" music.txt:match match being the line it found. why is ...
- 18 Sep 2009 02:39
- Forum: DOS Batch Forum
- Topic: file read
- Replies: 2
- Views: 5541
file read
hi i need to read a text file line by line and check each time if that line matches a variable.
- 17 Sep 2009 09:09
- Forum: DOS Batch Forum
- Topic: searching with dir
- Replies: 1
- Views: 4292
searching with dir
hi
i need to get the names of all the files in a folder and all the files inside subfolders.
i want just the name of the files and not the path and i dont want it to list the sub folders just the files inside.
any help apreciated.
thanks
i need to get the names of all the files in a folder and all the files inside subfolders.
i want just the name of the files and not the path and i dont want it to list the sub folders just the files inside.
any help apreciated.
thanks