Click here to Skip to main content
15,889,346 members
Home / Discussions / System Admin
   

System Admin

 
QuestionMultiple users and volume permissions Pin
Waldermort1-Aug-08 1:41
Waldermort1-Aug-08 1:41 
AnswerRe: Multiple users and volume permissions Pin
Perspx1-Aug-08 2:30
Perspx1-Aug-08 2:30 
QuestionPerfMon CPU Usage not same as Task Manager reading Pin
alex120530-Jul-08 21:22
alex120530-Jul-08 21:22 
AnswerRe: PerfMon CPU Usage not same as Task Manager reading Pin
Perspx30-Jul-08 23:44
Perspx30-Jul-08 23:44 
GeneralRe: PerfMon CPU Usage not same as Task Manager reading Pin
alex12057-Aug-08 19:45
alex12057-Aug-08 19:45 
GeneralRe: PerfMon CPU Usage not same as Task Manager reading Pin
Perspx7-Aug-08 23:55
Perspx7-Aug-08 23:55 
QuestionRe: PerfMon CPU Usage not same as Task Manager reading Pin
alex120517-Aug-08 23:00
alex120517-Aug-08 23:00 
QuestionReading in a line from a text file with a batch file and getting rid of spaces Pin
stickjuice30-Jul-08 8:42
stickjuice30-Jul-08 8:42 
I am writing a script that gets today's date and writes it to a text file (yesterday.txt).
For example, when this script runs, it will place today's date "20083007" into yesterday.txt.
This script works.


I have another script that is supposed to read in the line from the text file and store it in a variable.
When I read it in from my script, it reads it as "20082907 " < There is an extra space.

I do not want this extra space and cannot find anything on how to get rid of it. Any help would be much appreciated.

This writes the date to the text file.
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do set date=%%c%%b%%a
echo %date% > yesterday.txt


This is my code for retrieving the line from the text file.
set /p yesterdaysdate= <yesterday.txt>
</yesterday.txt>

QuestionVPN Setup Pin
Broken Bokken29-Jul-08 3:21
Broken Bokken29-Jul-08 3:21 
AnswerRe: VPN Setup Pin
Jörgen Andersson29-Jul-08 5:27
professionalJörgen Andersson29-Jul-08 5:27 
GeneralRe: VPN Setup Pin
Broken Bokken4-Aug-08 2:37
Broken Bokken4-Aug-08 2:37 
QuestionFTP setup Pin
bkelly1328-Jul-08 9:49
bkelly1328-Jul-08 9:49 
QuestionFile synchronization programs. Pin
John M. Drescher28-Jul-08 9:30
John M. Drescher28-Jul-08 9:30 
AnswerRe: File synchronization programs. Pin
requesttimedout28-Jul-08 13:21
requesttimedout28-Jul-08 13:21 
GeneralRe: File synchronization programs. Pin
John M. Drescher28-Jul-08 16:15
John M. Drescher28-Jul-08 16:15 
QuestionHow to launch and change 'regional options' through command prompt Pin
ArjunMK28-Jul-08 3:36
ArjunMK28-Jul-08 3:36 
AnswerRe: How to launch and change 'regional options' through command prompt Pin
Luc Pattyn28-Jul-08 4:14
sitebuilderLuc Pattyn28-Jul-08 4:14 
GeneralRe: How to launch and change 'regional options' through command prompt Pin
ArjunMK29-Jul-08 4:03
ArjunMK29-Jul-08 4:03 
GeneralRe: How to launch and change 'regional options' through command prompt Pin
Luc Pattyn29-Jul-08 4:15
sitebuilderLuc Pattyn29-Jul-08 4:15 
QuestionHowto? - Create new, or modify, Windows system (dynamic) environment variables Pin
m0w25-Jul-08 0:42
m0w25-Jul-08 0:42 
AnswerRe: Howto? - Create new, or modify, Windows system (dynamic) environment variables Pin
peterchen28-Jul-08 3:32
peterchen28-Jul-08 3:32 
AnswerRe: Howto? - Create new, or modify, Windows system (dynamic) environment variables Pin
Luc Pattyn28-Jul-08 3:48
sitebuilderLuc Pattyn28-Jul-08 3:48 
QuestionMount network share, ask fore credentials Pin
peterchen24-Jul-08 3:48
peterchen24-Jul-08 3:48 
AnswerRe: Mount network share, ask fore credentials Pin
Jörgen Andersson24-Jul-08 4:38
professionalJörgen Andersson24-Jul-08 4:38 
GeneralRe: Mount network share, ask fore credentials Pin
peterchen24-Jul-08 5:12
peterchen24-Jul-08 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.