Search found 11 matches

by Jbcom41
02 Oct 2021 03:49
Forum: DOS Batch Forum
Topic: wmic os get BuildNumber
Replies: 3
Views: 4919

Re: wmic os get BuildNumber

Thanks Compo, getting into DOS, its great language to learn, total newbie to dos but learning a lot here :) thanks again for the help...
by Jbcom41
01 Oct 2021 08:08
Forum: DOS Batch Forum
Topic: wmic os get BuildNumber
Replies: 3
Views: 4919

wmic os get BuildNumber

Hi Folks I have got my script working great with the help from users on DosTips, (thanks so much to Compo) only one piece of the jig saw left and that is to get the build number, but just not sure how to go about that, can someone please help? see script below. any info would be greatly appreciated ...
by Jbcom41
01 Oct 2021 03:54
Forum: DOS Batch Forum
Topic: Efficient Code
Replies: 7
Views: 6926

Re: Efficient Code

Hi Compo

got walk around, thanks for all the help, much appreciated...

Kind Regards

John
by Jbcom41
29 Sep 2021 04:45
Forum: DOS Batch Forum
Topic: Efficient Code
Replies: 7
Views: 6926

Re: Efficient Code

Hi Compo the script works a treat but there is one PC on the netowrk, its a HP Compaq Pro 4300 SFF PC that seems to be gving starange data output please see below: Event,Date,Time,Device,User,IP,SN,Model Logout,28/09/2021,23:20:12,KM9875,JKane,,~,19PC:,= The rest of the PCs are fine, could you pleas...
by Jbcom41
28 Sep 2021 08:46
Forum: DOS Batch Forum
Topic: Efficient Code
Replies: 7
Views: 6926

Re: Efficient Code

Thanks Compo that worked a treat...
by Jbcom41
27 Sep 2021 09:34
Forum: DOS Batch Forum
Topic: Efficient Code
Replies: 7
Views: 6926

Re: Efficient Code

Hi Compo Is there anyway to remove the last , comma from the data given or back slash so its just the data e.g. below? many Thanks John Event,Date,Time,Device,User,IP,SN,Model Login,27/09/2021,15:05:55,LT6795,ssmiht,192.168.0.221,VMware-67 0t 90 50 9,VMware/7,1 Event,Date,Time,Device,User,IP,SN,Mode...
by Jbcom41
27 Sep 2021 04:14
Forum: DOS Batch Forum
Topic: Efficient Code
Replies: 7
Views: 6926

Re: Efficient Code

thanks Compo for that much appreciated.
by Jbcom41
26 Sep 2021 11:28
Forum: DOS Batch Forum
Topic: Efficient Code
Replies: 7
Views: 6926

Efficient Code

Hi Folks I have created the following batch file below that runs when users login to their systems, can someone please look over my code and let me know if this is the most efficient way? or give advice to make it more efficient? John for /f "delims=" %%i in ('WMIC CSPRODUCT GET NAME /value') do for...
by Jbcom41
20 Jun 2021 15:02
Forum: DOS Batch Forum
Topic: Get the computer Serial Number
Replies: 4
Views: 5321

Re: Get the computer Serial Number

Thanks steffen...
by Jbcom41
20 Jun 2021 09:40
Forum: DOS Batch Forum
Topic: Get the computer Serial Number
Replies: 4
Views: 5321

Re: Get the computer Serial Number

Thanks Steffen, that work a treat - do you know if the wmic bios get serialnumber will slow down users logging in and will this always display the Serial number of the PC, I mean will there be some manufacturers that do not abide by the wmic bios get serialnumber? thanks again Steffen much appreciat...
by Jbcom41
20 Jun 2021 07:41
Forum: DOS Batch Forum
Topic: Get the computer Serial Number
Replies: 4
Views: 5321

Get the computer Serial Number

Hi Folks This is my first time here, hello all :) - I have a batch login script that works really well, but I am trying to find out how to get the serialnumber of the PCs within my network using the wmic bios get serialnumber cmd but I am not sure how to implement this into my script, please see sc...