using a .bat file to start Autocad up with parameters on windows 2K

Discussion in 'AutoCAD' started by blackpikex, Aug 5, 2004.

  1. blackpikex

    blackpikex Guest

    Does anybody know how to run autocad from a batchfile and pass the /p
    profile parameter so autocad starts up with a profile. I have been
    trying to get this to work for about a day and it seams that my 7
    years of experience in batch file writing under MS-DOS isn't worth
    shit under 2K. Funny how all the knowledge of writing shell batch
    files hasn't changed under unix for the last 15 years, that learning
    curve was worth going up. Oh and one note to Autodesk, for F??k sake
    make AutoCAD run on an operating system that has been developed by
    engineers to solve engineering problems, not the crap operating system
    that is window(anyversion) which is only written to meet the financial
    demands of Microsoft Share holders.

    Autocad will always suck aslong as it runs on windows.
    Autocad 11 on a Sun IPX workstation running Solaris ROCKED.
     
    blackpikex, Aug 5, 2004
    #1
  2. blackpikex

    Paul Turvill Guest

    Is there a reason you don't want to simply modify the startup call of the
    ACAD icon in windows? Maybe if you took a little time to learn some of the
    neat little tricks modern Windows has available, you wouldn't be so
    critical.
    ___
     
    Paul Turvill, Aug 5, 2004
    #2
  3. blackpikex

    blackpikex Guest

    I have tried that already and I cant get it to work, basically I have
    several project, each project has its own directory on the server. I
    would like to start autocad to run in the directory that the project
    is in, and also pass a /s support path and also a /p profile augument.

    The Target in the shortcut properties has to stay as :-
    "C:\Program Files\ACAD2000\acad.exe"

    The start in properties of the short cut icon has to be
    P:\projecta\ to tell it to start in the right project directory.

    So where do I add the /s and /p parameters and do they have to be
    enclosed inside the quotation marks?

    And to be totaly honest the amount of power filling in the fields of a
    shortcut icon is pathetic.

    what if I wanted run a batch file that did several things before
    starting up Autocad, like run a time logging program or backup a file.

    Windows is naff because it only caters to 2 types of people.

    button peckers. Who can not be bothered to learn how to get the most
    out of a computer and will quite happily press the same buttons over
    and over again in the same sequence all day long with a slight bit of
    variation. I don't want to have to remember 100's of Neat Little
    Tricks when half of them will be usless the next time I have to
    upgrade my operating sytem. I would much rather write powerfull
    programs that save me hours of button pushing, that will still work in
    5 or 10 years time.

    or

    Full qualified programmers who can recite to you every Method and
    Propertie of the microsoft foundation class C++ libaries.

    The other thing I hate about microsoft is they constantly bring out Oh
    so cool new techologies, that are usualy badly thoughtout or badly
    implemented, and by the time you have leart the new technology and
    learnt its weeknesses.They bring out another Oh so cool technology
    that supercied the one you just spent many hours getting compitent at.

    This is why I am glad I learnt Autolisp about 8 years ago, It has
    maintained backward compatibility, what I learn't 8 years ago is still
    applicable and usable today.

    That probably can't be said for Microsofts development environments, I
    doubt a profficent programmer of Visual Basic 3 would be any use at
    programing Visual Basic 6 when you consider all the revisions to the
    development framework that have been added on. ie com com+ .Net This
    is why I doubt I'll be bothered to learning how to use Autocad VBA
    addon.
     
    blackpikex, Aug 5, 2004
    #3
  4. blackpikex

    Paul Turvill Guest

    If you were to look in Windows HELP, you would find most of your answers.
    For example, to add the /s and /p switches to the command line, just add
    them in the 'target' field. And, no, unless the switches include spaces, you
    don't need to enclose them in quotes (but doing so doesn't normally hurt).
    You can also simply create a different icon for each project you're working
    on, and put that path in the 'start in' field.

    You can run DOS style batch files, if you wish. I do it all the time. Simply
    create the batch (*.bat) file to do what you want it to do, then run it
    using either START / Run ... or create an icon to run it. The batch syntax
    is similar to the old DOS syntax, but a number of enhancements have been
    added. Again, you should try looking in HELP; you may be surprised what you
    can learn to do.

    By not bothering to exploit the power of modern versions of Windows, you're
    only shortchanging yourself.
    ___

    <<snip>>
     
    Paul Turvill, Aug 5, 2004
    #4
  5. blackpikex

    Bob Morrison Guest

    In a previous post Paul Turvill says...
    Paul:

    Well said!
     
    Bob Morrison, Aug 6, 2004
    #5
  6. blackpikex

    Brian Naught Guest

    here here, paul
     
    Brian Naught, Aug 6, 2004
    #6
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.