Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Can anybody get this to work?

01 Nov 2009   #1

Windows 7 build 7600 64 bit
Can anybody get this to work?

can anybody get this to work ? :\

@echo off
ping /t >> "%userprofile%\Documents\Ping statistics\%date:~5,10%\%time:~1,7%.txt"
goto start

My System SpecsSystem Spec
02 Nov 2009   #2

Windows 7 build 7600 64 bit

Bump, its only supposed to ping google and write the result to
"%userprofile%\Documents\Ping statistics\%date:~5,10%\%time:~1,7%.txt"
wich will turn into
"C:\Users\Schnitzel\Documents\Ping statistics\02.11.2009\0:25:59.txt"
My System SpecsSystem Spec
02 Nov 2009   #3

Windows 7 build 7600 64 bit

My System SpecsSystem Spec

02 Nov 2009   #4
Joan Archer

Windows 10 64bit/Windows 10 64bit/Windows 10 64bit

It is against forum rules to bump threads you have to give people time to see your post.
My System SpecsSystem Spec
02 Nov 2009   #5

Windows 7 Ultimate x64 SP1

If you plan on using dates for batch files, I would seriously look into VBS instead. You can do a lot more with a lot less hassle. For instance, I wanted to write a batch file that would copy a database back-end file to a backup location, with the date added to the file name. It never worked correctly - I wasted a few hours on it, until I came to my senses and did what I wanted in VBS in about 10 minutes.
My System SpecsSystem Spec

 Can anybody get this to work?

Thread Tools

Similar help and support threads
Thread Forum
Keyboards no longer work on Windows 7, but the function keys work
Hi everyone, this is a really puzzling problem that I've never seen before or even heard of. Basically, my battery backup for my PC has recently conked out and there was a temporary power outage in my building. So the battery backup didn't kick in (my fault for not replacing it) and the PC was...
Hardware & Devices
Downloads Work Offline But Once Website Is Live they Dont Work
I have recently built a new website, i tried all links and they worked fine before making it live on Filezilla. I was wondering if anyone knows the reason for it or even better the fix for the solution. The files are DWG. which is a version of CAD. PDF's, Jpegs, ect. all work except DWG's. ...
General Discussion
acer aspire 4738' s bluetooth doesn't work but wifi work?
Acer aspire's Bluetooth doesn't work since I bought it I've installed drivers too but it doesn't work what should I do. In its specs it has Bluetooth . But there is no Bluetooth device found in device manager how to repair this. Please HELP!!
Hardware & Devices
Windows won't boot, startup won't work, safe mode dosent work
Today my laptop was working fine but then I shut it down and turned it on again, when I turned it back on, after the Starting Windows and windows logo disappear I get a blue screen for half a second then my computer try's to reboot, I've tried to use startup reapir but u just have a crusor with a...
General Discussion
LIBusb, USB ports doesn't work. Safe mode also no work
After I install LIBusb I could work futher. But after I put him off en reboot an hour later my wired mouse en keyboard didn't work anymore. When I restart in safe mode both still doesnt work. OS: W7 Home Premium 64b Computer: HP Pavilion p6250 Please Help!!

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:48.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App