Running a .bat file

Discussion in 'AutoCAD' started by Chip Harper, Jan 30, 2004.

  1. Chip Harper

    Chip Harper Guest

    I'm getting tired of using windows explorer to locate my .pss file to turn
    off the Read Only properties so I created a .bat file which works ....

    attrib -r lb.pss

    But I can't get it to work from a button ....

    ^C^C(command "shell" "PSSATT.bat") or ^C^C (startapp "PSSATT.bat")

    The .bat file is in the same folder as the pss file and I tried adding the
    complete path to the macro.

    I see the command window flash but the property remains read only.
    Suggestions?
     
    Chip Harper, Jan 30, 2004
    #1
  2. Chip Harper

    Chip Harper Guest

    Yep, I added a cd to the bat and it worked. :) Thanks for the tip.
     
    Chip Harper, Jan 30, 2004
    #2
  3. Chip Harper

    Chip Harper Guest

    Yep, I got em and I like this better than the .bat approach. Thanks. :)
     
    Chip Harper, Jan 30, 2004
    #3
  4. You're welcome. That is just about the only ET function
    that I use (or did use). I quit using that plotstamp long ago
    due to the silliness of that read only business and no option
    at the command line to change .pss files. I personally liked
    the hard-wired stamp that R14 had better than anything else.
     
    Jason Piercey, Jan 30, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.