Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Plz help with "at" command in Windows Vista command line?
c:\> at hh:mm cmd /c java c:\test1 ^> c:\...\desktop\output.txt just puts a blank text file on my desktop. However the exact same line without the at hh:mm will run the java program and redirect the output to my desktop just fine.
To make life easier I put the class file on the root directory.
Can someone please help me figure out why, when the java class file is interpreted directly from the command line the output is redirected just fine but when it's scheduled using the at command the output seems to disappear into a black hole. More importantly how do I get the java program to run and send the output to a text file at a scheduled time from the command line using the at command?
If it's any help when I schedule it to "type" or "dir" that redirects the output just fine.
4 Answers
- AnalProgrammerLv 79 years agoFavorite Answer
Here is a link to the documentation with examples.
Perhaps your command should be in quotes.
Have fun.
Source(s): http://www.computerhope.com/at.htm - James BondLv 79 years ago
It is not the answer for your question directly.
You can let that Java program to explicitly take filename along the commandline and open the file and write content into it
- Anonymous5 years ago
somewhat previous due yet on no account improve to Vista wait till you purchase a sparkling device and it incredibly is pre-put in. purely google the blunders code and it will take you to an internet site the place it permit you to comprehend waht the code skill and hoe to restoration it (if conceivable)