Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have several Windows desktops used by different individuals with several .bat files stored in a common location (say E: drive) in every machine. I am in the process of setting up a web-page in our intranet site with hyperlinks to run each batch file.

As machine names change from PC to PC I am not able to use a hyperlink something like this:

\\chethan-PC\e$\scripts\one.bat

I tried using localhost and 127.0.0.1 in place of PC name but it did not help. Hence I am interested to know if there is any way to achieve this objective.

One alternative I could think of, is to have scripts in a server. But this is not feasible in our case as users will be making modifications on local copies.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Try this for an address:

file:///E:/scripts/one.bat
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.