I have my textfile here and i want to change some text that depend to a user
this is my textfile.txt
---------------------------------------------------------------------------------------------------------------
% File: filefill.ps2
% Purpose: Fill up a printer's device with files specified by number or size.
% Method: User sets the /set_new_freespace variable to the amount of freespace desired.
%Program calculates current freespace on the device and determines amount of data needed to fulfill the request.
%Sample data is sent to the device to help determine estimated job execution time, which is printed immediately.
%Actual execution time and device throughput are printed at the end of the job.
%
% RandomFileSize, TotalFiles and FileSize are mutually exclusive options (first valid option is used).
%
/set_new_freespace 60000 def % Kbytes of freespace the user wants on the disk (A negative number will cause a disk full message).
/RandomFileSize true def % size of files used to fill device are randomly generated if true
/TotalFiles 500 def % use set number of files to fill device if RandomFileSize is false
/FileSize 1000 def % set size of files (in Kbytes) to fill device with if RandomFileSize=false and TotalFiles=0
-----------------------------------------------------------------------------------------------------------------------------
I want that the 60000 can be change using the user imputed.
Can anybody help me.
I appreciate so much to those who can help regarding this problem.
this is my textfile.txt
---------------------------------------------------------------------------------------------------------------
% File: filefill.ps2
% Purpose: Fill up a printer's device with files specified by number or size.
% Method: User sets the /set_new_freespace variable to the amount of freespace desired.
%Program calculates current freespace on the device and determines amount of data needed to fulfill the request.
%Sample data is sent to the device to help determine estimated job execution time, which is printed immediately.
%Actual execution time and device throughput are printed at the end of the job.
%
% RandomFileSize, TotalFiles and FileSize are mutually exclusive options (first valid option is used).
%
/set_new_freespace 60000 def % Kbytes of freespace the user wants on the disk (A negative number will cause a disk full message).
/RandomFileSize true def % size of files used to fill device are randomly generated if true
/TotalFiles 500 def % use set number of files to fill device if RandomFileSize is false
/FileSize 1000 def % set size of files (in Kbytes) to fill device with if RandomFileSize=false and TotalFiles=0
-----------------------------------------------------------------------------------------------------------------------------
I want that the 60000 can be change using the user imputed.
Can anybody help me.
I appreciate so much to those who can help regarding this problem.