Thanks I have to use bash command line in Linux is it way for bash to call my vbs script?
Thanks,
Main Topics
Browse All TopicsI have a batch file that uses the dnscmd to update our DNS server on our Windows 2003 domain. I will need to run on our Linux Redhat box which is a webserver but not joined to Windows 2003 domain. Is this possible? Also I have a .vbs script that does the same thing should I use the .bat, .vbs, or a scripting language in Linux to do so?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
There isn't much to be gained by calling a vbs script on a Linux PC, as that script would want to run windoze commands which wouldn't do anything on a Linux PC. Also vbs doesn't run on linux.
What you need to do is first find out what the script should do on the Linux PC, then find the Linux commands or tools needed to do that, install them if necessary, and then create a shell script which runs those commands with the correct syntax.
Business Accounts
Answer for Membership
by: rindiPosted on 2009-10-10 at 01:14:58ID: 25541311
Both vbs and bat files are for DOS/Windows systems and aren't meant for Linux. The same applies to the dnscmd command. If you want to run something on the Linux PC that does the same as your batch file on the windows box, you'll first have to find what Linux commands or tools do the same thing.