minmin has asked for the wisdom of the Perl Monks concerning the following question:
I want to open a new cmd prompt on Windows the list the directory content. But the dir cmd result appeared on the old cmd windows. How can i switch to use new windows? Many thanks in advance!
#!/usr/bin/perl use warnings; use strict; use diagnostics; system ("start \"New prompt!\" cmd.exe |dir");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Open new cmd prompt and list directory content on it
by GotToBTru (Prior) on Jun 22, 2015 at 17:12 UTC | |
by Anonymous Monk on Jun 22, 2015 at 17:32 UTC | |
|
Re: Open new cmd prompt and list directory content on it
by VinsWorldcom (Prior) on Jun 22, 2015 at 18:16 UTC | |
|
Re: Open new cmd prompt and list directory content on it
by GotToBTru (Prior) on Jun 22, 2015 at 18:35 UTC | |
|
Re: Open new cmd prompt and list directory content on it
by marinersk (Priest) on Jun 22, 2015 at 23:46 UTC | |
by minmin (Initiate) on Jun 23, 2015 at 04:00 UTC | |
|
Re: Open new cmd prompt and list directory content on it
by Anonymous Monk on Jun 22, 2015 at 17:32 UTC | |
by GotToBTru (Prior) on Jun 22, 2015 at 20:37 UTC |