hrowing it off.
What's the result of just the date ?
echo %date% > test.txt
Regards,
Sietse
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gérard Lochon
> Sent: zondag 23 juli 2006 22:03
> To: [EMAIL PROTECTED]
> Subject: R
ndag 23 juli 2006 22:03
> To: [EMAIL PROTECTED]
> Subject: Re: [NF] Day of Week from Command Prompt
>
> 23/ as before ...
>
>
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/pro
23/ as before ...
- Message d'origine -
De : "KAM" <[EMAIL PROTECTED]>
À : "ProFox Email List"
Envoyé : dimanche 23 juillet 2006 21:37
Objet : Re: [NF] Day of Week from Command Prompt
highlight this line:
echo %date:~0,3% > test.txt
use CTRL-C
Sent: Sunday, July 23, 2006 10:50 AM
Subject: Re: [NF] Day of Week from Command Prompt
Why not for me ?
Gérard.
- Message d'origine -
De : "KAM" <[EMAIL PROTECTED]>
À : "ProFox Email List"
Envoyé : dimanche 23 juillet 2006 19:14
Objet : Re: [NF] Day
Why not for me ?
Gérard.
- Message d'origine -
De : "KAM" <[EMAIL PROTECTED]>
À : "ProFox Email List"
Envoyé : dimanche 23 juillet 2006 19:14
Objet : Re: [NF] Day of Week from Command Prompt
It works ok with XP pro - both from the command line
cc:
Sent by: Subject: Re: [NF] Day of Week
from Command Prompt
profoxtech-
It works ok with XP pro - both from the command line and in a bat file. Returns
Sun
- Original Message -
From: "Gérard Lochon" <[EMAIL PROTECTED]>
To: "ProFox Email List"
Sent: Sunday, July 23, 2006 10:05 AM
Subject: Re: [NF] Day of Week from Command Prompt
?
it returns 23/
Gérard.
- Message d'origine -
De : "Andy Davies" <[EMAIL PROTECTED]>
À :
Envoyé : vendredi 21 juillet 2006 19:57
Objet : RE: [NF] Day of Week from Command Prompt
echo %date:~0,3%
works where I live ==> Fri
Andrew Da
echo %date:~0,3%
works where I live ==> Fri
Andrew Davies MBCS CITP
- AndyD 8-)#
**
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom
Robbo,
> echo %date:~6,2%
Very cool! A new trick for this old dog.
Cheers!
Malcolm
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listin
It's the Mon,Tue,Wed,Thu etc I'm after
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Anderson
Sent: 21 July 2006 15:50
To: [EMAIL PROTECTED]
Subject: RE: [NF] Day of Week from Command Prompt
You can get the day (numeric) easily enoug
On 7/21/06, Chris Davis <[EMAIL PROTECTED]> wrote:
Does anyone know how to get the name of the day of the week in a batch file
on XP, 2003 ???
You could write a simple program in the language of your choice to
output it to a file and then read the file into the batch file. VFP
can do this, as c
test.bat
---
@echo off
echo Today is %date%
echo The time is %time%
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtec
You can get the day (numeric) easily enough :-
echo %date:~6,2%
HTH,
Robbo.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Davis
Sent: 21 July 2006 10:25
To: profox@leafe.com
Subject: [NF] Day of Week from Command Prompt
Morning,
Does
> Does anyone know how to get the name of the day of the week
> in a batch file on XP, 2003 ???
Use CDOW to get the day and STRTOFILE to generate/replace the batch
file?
Bill
> Chris.
___
Post Messages to: ProFox@leafe.com
Subscription Mai
Morning,
Does anyone know how to get the name of the day of the week in a batch file
on XP, 2003 ???
Cheers
Chris.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
___
16 matches
Mail list logo