Nmap Development mailing list archives
RE: Output w/ date/time variables?
From: "Norris Carden" <ncarden () ascendfcu org>
Date: Thu, 8 Apr 2010 14:21:17 -0500
Awesome, thanks! Norris Carden -----Original Message----- From: DePriest, Jason R. [mailto:jrdepriest () gmail com] Sent: Thursday, April 08, 2010 1:57 PM To: Brandon Enright Cc: Norris Carden; nmap-dev () insecure org Subject: Re: Output w/ date/time variables?
Norris, my batch/cmd scripting is terribly rusty however doesn't %val have special meaning in batch scripts? Have you tried anything like %%D%%T? A quick perusal of Google results suggest that ^ might be the escape char. If you are stuck on Windows you should think about using PowerShell for your scripting needs rather than cmd scripts. Brandon
This is truth. '%' is the variable name indicator for a batch file on Windows. You will need to double it to keep it from being interpreted as such. %%D%%T should work. -Jason _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Output w/ date/time variables? Norris Carden (Apr 08)
- RE: Output w/ date/time variables? Norris Carden (Apr 08)
- Re: Output w/ date/time variables? Ron (Apr 08)
- Re: Output w/ date/time variables? Kris Katterjohn (Apr 08)
- Re: Output w/ date/time variables? Ron (Apr 08)
- Re: Output w/ date/time variables? Fyodor (Apr 08)
- Re: Output w/ date/time variables? Kris Katterjohn (Apr 08)
- Re: Output w/ date/time variables? jah (Apr 08)
- Re: Output w/ date/time variables? Norris Carden (Apr 08)
- Re: Output w/ date/time variables? Brandon Enright (Apr 08)
- Re: Output w/ date/time variables? DePriest, Jason R. (Apr 08)
- RE: Output w/ date/time variables? Norris Carden (Apr 08)
- Re: Output w/ date/time variables? Norris Carden (Apr 08)