prab2112 has asked for the wisdom of the Perl Monks concerning the following question:
After running the above code it gives me "The system cannot find the file specified." error. what's wrong with the code?#!/usr/bin/perl $path = ""; $t = "dir C:\\ProgramData\\Test1\\Test Folder\\" ; $out = `$t`; print $out;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What is wrong with this code?
by jellisii2 (Hermit) on Sep 08, 2014 at 11:29 UTC | |
by LanX (Saint) on Sep 08, 2014 at 13:21 UTC | |
by jellisii2 (Hermit) on Sep 08, 2014 at 14:35 UTC | |
|
Re: What is wrong with this code?
by marto (Cardinal) on Sep 08, 2014 at 09:05 UTC | |
|
Re: What is wrong with this code?
by Anonymous Monk on Sep 08, 2014 at 09:00 UTC | |
|
Re: What is wrong with this code?
by LanX (Saint) on Sep 08, 2014 at 09:05 UTC | |
by prab2112 (Novice) on Sep 08, 2014 at 09:35 UTC | |
|
Re: What is wrong with this code?
by Anonymous Monk on Sep 08, 2014 at 10:19 UTC | |
|
Re: What is wrong with this code?
by locked_user sundialsvc4 (Abbot) on Sep 09, 2014 at 00:50 UTC | |
by Anonymous Monk on Sep 09, 2014 at 14:24 UTC |