Jump to content

csgecko

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

About csgecko

csgecko's Achievements

0

Reputation

  1. That's working perfect, thanks to both of you for helping! - Jas`
  2. Well basically, all I wanted to do was to make a batch file for my friend, so when he runs it, it creates a batch file in his startup folder, which creates the readme on his desktop everytime the comp starts up.
  3. Hey there guys, I had a question that's been confusing me lately and I apologise if it seems stupid, but at the moment I am just experimenting with batch scripts, and I came across a small prob which I haven't been able to figure out yet. Heres a brief example: Lets say I made a batch file on my C:\ and called it "make.bat" and I wanted it to produce the following below, into another batch file, "C:\test\run.bat" so the new file (run.bat) will contain only: " echo Hello world. >> C:\DOCUME~1\ALLUSE~1\Desktop\Readme.txt " ...without speech marks what would I put in the original batch file (make.bat), to create that?, so basically, what I would want is: 1.) You run "C:\make.bat" 2.) "C:\make.bat" creates "C:\test\run.bat" 3.) When "C:\test\run.bat" is executed is creates Readme.txt on your desktop. i've already tried: echo "echo Hello world. >> C:\DOCUME~1\ALLUSE~1\Desktop\Readme.txt" >> C:\test\run.bat but then C:\test\run.bat is created with speech marks inside it, which then makes the batch file unable to work.. I know it seems kind of confusing but i'd appreciate any help. Thanks in advance. - Jason
×
×
  • Create New...