0 Replies - 1150 Views - Last Post: 15 November 2015 - 01:00 AM

#1 Yya09  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 22-October 15

Perl question(system function)

Posted 15 November 2015 - 01:00 AM

HI everyone

i want to write a script that opens the windows command prompt and type in it a ipconfig command, i know how to open the cmd using "system" function but i want to write a command in the cmd using the script.

#openning the cmd 

system(cmd.exe);




so how can i write a command in the cmd using system fucntion
Is This A Good Question/Topic? 0
  • +

Page 1 of 1