RaynMan has asked for the wisdom of the Perl Monks concerning the following question:
Afternoon Monks! New to perl...I am having a bit of a problem when attempting to pass a large text file to powershell and from powershell a registry value is placed in a defined location hklm:\software\policies. Powershell seems to not be able to handle files in excess of 45kb. Once the registry key is created it cannot be added to or modified. Also, Unfortunatly the registry value must be much larger. So my real question is " Is there anyway to split up a .txt file in perl and then pass multiple arguments to powershell so that it reads the text file as a huge string and not individual submissions. Perhaps a buffer is needed to store such large values? Is there any alternative to powershell which can handle larger .txt files Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Split large text file into smaller values so powershell can handle transfering the value to a registry location
by affc (Scribe) on Jun 17, 2010 at 19:41 UTC | |
|
Re: Split large text file into smaller values so powershell can handle transfering the value to a registry location
by aquarium (Curate) on Jun 18, 2010 at 03:32 UTC | |
|
Re: Split large text file into smaller values so powershell can handle transfering the value to a registry location
by zek152 (Pilgrim) on Jun 17, 2010 at 19:42 UTC |