Code: Select all
@echo off & setlocal enabledelayedexpansion
set in=file.csv
set out=file2.csv
for /f "tokens=*" %%i in ('type %in%') do (
set line=%%i
>>%out% echo !line: =!
)
Code: Select all
@echo off & setlocal enabledelayedexpansion
set in=file.csv
set out=file2.csv
for /f "tokens=*" %%i in ('type %in%') do (
set line=%%i
>>%out% echo !line: =!
)
Code: Select all
@echo off
icacls c:\profiles\* /save ACLs /T
takeown /f /r /a /d y c:\profiles\*
do stuff...
icacls c:\profiles\ /restore ACLs
d360991 wrote:This is so simple. Great.
On Windows 7, is it possible to open different elements of the control panel via batch files? For example, Scheduled Tasks?
Thanks again,
-Nina