A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

.BAT or .CMD File: Any Way To Format A Number?



 
 
Thread Tools Display Modes
  #1  
Old February 6th 13, 04:44 PM posted to microsoft.public.windowsxp.general
(PeteCresswell)
external usenet poster
 
Posts: 1,933
Default .BAT or .CMD File: Any Way To Format A Number?

I'm computing an elapsed time in a .CMD file and would like to format it
using commas for thousands.

e.g. 12890 == 12,890

I'm not optimistic.... is there any hope?

Tangentially, I've stumbled on a manual for "WIL" (Windows Interface
Language"). Is this a third-party thing? Or is it built in to
WIndows.... I'm thinking maybe there's some hope there, but I don't want
to waste a lot of time...
--
Pete Cresswell
Ads
  #2  
Old February 6th 13, 05:48 PM posted to microsoft.public.windowsxp.general
Zaphod Beeblebrox
external usenet poster
 
Posts: 868
Default .BAT or .CMD File: Any Way To Format A Number?

On Wed, 06 Feb 2013 11:44:10 -0500, "(PeteCresswell)"
wrote in article ...

I'm computing an elapsed time in a .CMD file and would like to format it
using commas for thousands.

e.g. 12890 == 12,890

I'm not optimistic.... is there any hope?


I'm not sure, but the folks at alt.msdos.batch.nt can probably help.
Lots of very capable batch coders over there.

Tangentially, I've stumbled on a manual for "WIL" (Windows Interface
Language"). Is this a third-party thing? Or is it built in to
WIndows.... I'm thinking maybe there's some hope there, but I don't want
to waste a lot of time...


I have not heard of it before so I suspect it is third-party.

--
Zaphod

"The best Bang since the Big One" - Eccentrica Gallumbits
  #3  
Old February 6th 13, 08:31 PM posted to microsoft.public.windowsxp.general
David H. Lipman
external usenet poster
 
Posts: 4,185
Default .BAT or .CMD File: Any Way To Format A Number?

From: "(PeteCresswell)"

I'm computing an elapsed time in a .CMD file and would like to format it
using commas for thousands.

e.g. 12890 == 12,890

I'm not optimistic.... is there any hope?

Tangentially, I've stumbled on a manual for "WIL" (Windows Interface
Language"). Is this a third-party thing? Or is it built in to
WIndows.... I'm thinking maybe there's some hope there, but I don't want
to waste a lot of time...


Windows Command Processor BAT or CMD probably not.

KiXtart, yes.



--
Dave
Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk
http://www.pctipp.ch/downloads/dl/35905.asp
  #4  
Old February 8th 13, 12:59 PM posted to microsoft.public.windowsxp.general
Hot-Text
external usenet poster
 
Posts: 8
Default .BAT or .CMD File: Any Way To Format A Number?

"(PeteCresswell)" wrote in message ...
I'm computing an elapsed time in a .CMD file and would like to format it
using commas for thousands.

e.g. 12890 == 12,890

I'm not optimistic.... is there any hope?


Mr. Pete Cresswell


You Can use The x86 Assembly
http://www.winasm.net/

Have Fun

Tangentially, I've stumbled on a manual for "WIL" (Windows Interface
Language"). Is this a third-party thing? Or is it built in to
WIndows.... I'm thinking maybe there's some hope there, but I don't want
to waste a lot of time...



--
Indian Food

The Vote is always First,
WE Savages Would say:,
Then we Look for Food.

For The Indians always use,
The Vote,
To make a Brave,
A Good News Big Chief,
For The Hunt.

By:©2012BRFconstruction
Your Truly
Hot-Text
http://msgroups.net/ /

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.