question

shalabh21 avatar image
shalabh21 asked

Batch File

Hi All, I Want to create a batch file which will open text file located on my computer. regards Shalabh
command-line
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
ThomasRushton avatar image
ThomasRushton answered
You could create the batch file that has a call to Notepad with your filename. eg: Notepad C:\MyFile.txt (Don't forget to put the filename in double quotes - "C:\My File.txt" - if there's a space in the name) Or you could create a batchfile which will accept a parameter, and open the file supplied: Notepad %1 And call that with something like MyBatchFile "C:\MyFile.txt" Not quite sure what all this has to do with SQL Server, though!
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.