could anybody explain to me what it means, when for /f start with the following "skip=1 tokens=*"?
thanks
Search found 12 matches
- 07 Sep 2011 11:24
- Forum: DOS Batch Forum
- Topic: for /f
- Replies: 9
- Views: 9134
- 06 Sep 2011 08:01
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
the line what I'm looking for always start with word "server" I checked/tested script above but it is not working.
- 06 Sep 2011 02:56
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
hi guys, again after long time I need your help now I would like to get one exact line from file on output now I have something like it: for /f "tokens=*" %%a in ('type D:\test\test.txt') do (echo line=%%a) but this command will show me all lines, I need only one exact line, I tried it com...
- 13 Mar 2011 10:47
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
guys, again additional question for you: I want to check via this script remote computers so the question is how I can process it? I guess one way is to use PsExec from sysinternals but maybe is it possible do it via command for ? Something like for /F %%G in (computers.txt) do script.bat Does it ma...
- 13 Jan 2011 11:15
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
thank you ChickenSoup it's working as I wanted, would it be a problem to make a condition that if it doesn't work (service is not there), an error will appear(echo service is not running)? In this case I suppose IF Conditionaly perform command is necessary to use, or am I wrong? thanks.
- 13 Jan 2011 09:04
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
and last thing what I would like to know: via net start I get list of running services, from it I want choose exact one (example: net start |findstr "DHCP Client") and here is problem if the command is able to find this service than he should do echo "Everything is OK". Any idea ...
- 31 Dec 2010 02:30
- Forum: DOS Batch Forum
- Topic: HELP PLEASE cmd opening fail
- Replies: 2
- Views: 4618
Re: HELP PLEASE cmd opening fail
what should your script to do?
from my point of view your script is running correctly:) try to run it via command line if not, redirect it to the file so you will be able to see result?
I hope that I understood your issue correctly:P
from my point of view your script is running correctly:) try to run it via command line if not, redirect it to the file so you will be able to see result?
I hope that I understood your issue correctly:P
- 31 Dec 2010 02:23
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
ChickenSoup: thank you very much, i will take it to the office and test it, but on my home computer it is work exactly as I imagined it would. ghostmachine4: I prefer leaving it like this, I will have to revise it a little and I more or less understand this record but I will try to follow your sugge...
- 30 Dec 2010 08:00
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
hi guys, it's me again I supposed that I will be able finish my bat file without help but I was totally wrong Last informations what I need to collect via my script are IP addresses of all my network interfaces. for example: Network card 1: IP address Network card 2: IP address Network card 3: IP ad...
- 24 Dec 2010 13:25
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
rfpd: thank you very much, it works
Honestly I should read for /? more carefully after that maybe I would know about this use
Let's say that whole "command" is clear for me, only parameter /v I don't understand:(
Never mind thank you one more time for your help.
Honestly I should read for /? more carefully after that maybe I would know about this use
Let's say that whole "command" is clear for me, only parameter /v I don't understand:(
Never mind thank you one more time for your help.
- 24 Dec 2010 06:01
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
Re: BasicInfo
definitively, but I don't need all info from systeminfo only about CPU...
- 24 Dec 2010 05:20
- Forum: DOS Batch Forum
- Topic: BasicInfo
- Replies: 26
- Views: 24671
BasicInfo
Hello all, is there somebody who can tell me/write example how to get some basic information about computer via cmd to the txt file? I need especially CPU info, memory and from ipconfig IP addresses of all my network cards. I supposed that it will be very easy via findstr but I was totally wrong if ...