Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

batch file query

  • 10-11-2006 11:40am
    #1
    Registered Users, Registered Users 2 Posts: 10,407 ✭✭✭✭


    hey quick question about creating a batch file.

    the question is does anybody know what to write a batch file so that I can rename a file but get the name of the new file from user input.

    Thanks inadvance for any help
    JSB


Comments

  • Registered Users Posts: 205 ✭✭Stugots


    Diffiuclty is getting the user input to th ebatch file obviously.

    Its tricky, but possible with Windows pre-NT. More difficult for NT and beyond, but this site claims it is possible using wscript.

    http://members.cox.net/tglbatch/input95.html


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 92,385 Mod ✭✭✭✭Capt'n Midnight


    set /? will show you the list of options

    set /p of them allows you to ask the user to type input which then gets assigned to an enviromental variable.

    set /p filename
    echo %filename%


Advertisement