Jump to content

Recommended Posts

Posted

Hi,

 

I would like MDT to create a text file on the c drive before joining the domain. This is used to tell when the installation has started and finished and is used by Group policy preferences.

 

I have tried running the command

 

echo.>C:\Installing.txt

 

This is set as a 'run command line' task in the task sequence before the 'recover from domain' task.

 

All i get however is a error with Notepad as the title and the error

The filename,Directory name, or volume label syntax is incorrect.

 

Any ideas?

 

Thanks

Posted

Could just be that you are missing the spaces.

 

Try

echo. > C:\installing.txt

 

When I ran your code in CMD I get nothing, when I put the spaces in it's fine.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...