Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

String Manipulation in DOS .bat on NT

I need to create a .bat file on NT that strips double quotes from a string parameter. What might the DOS syntax look like for such a .bat function?

Thank you in advance.
0
ktabacchi
Asked:
ktabacchi
  • 2
1 Solution
 
billiousCommented:
set name=%name:"=%

...Bill
0
 
billiousCommented:
The answer given is correct. Poster has failed to close any of 3 questions.

Suggest award-A and PAQ

...Bill
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now