R
Raju Aralikatti
hi,
can anyone help me.
I want to create a folder, create another file of .url type and save the
url file in the folder and zip the folder. I am sending the code which
I have written and I am getting following error. "No such file or
directory - InstitutionShortcut"
dir_name = Dir.new("InstitutionShortcut")
file_path =
"#{RAILS_ROOT}/public/test/#{dir_name}/Isabel-#{@institutions.institution_name}.url"
f = File.new(file_path, "w")
content = ""
content += "[InternetShortcut]\n"
content += "URL=http://192.168.1.233:5555/index.jsp?"
content += "passcode="(e-mail address removed)+"\n"
content += "IconFile=http://192.168.1.233:5555/favicon.ico\n"
content += "IconIndex=1\n"
content += "Modified=30B027EB835EC40198"
f.write( content )
f.close
dir_name.zip
can anyone help me
Thanks in advance
can anyone help me.
I want to create a folder, create another file of .url type and save the
url file in the folder and zip the folder. I am sending the code which
I have written and I am getting following error. "No such file or
directory - InstitutionShortcut"
dir_name = Dir.new("InstitutionShortcut")
file_path =
"#{RAILS_ROOT}/public/test/#{dir_name}/Isabel-#{@institutions.institution_name}.url"
f = File.new(file_path, "w")
content = ""
content += "[InternetShortcut]\n"
content += "URL=http://192.168.1.233:5555/index.jsp?"
content += "passcode="(e-mail address removed)+"\n"
content += "IconFile=http://192.168.1.233:5555/favicon.ico\n"
content += "IconIndex=1\n"
content += "Modified=30B027EB835EC40198"
f.write( content )
f.close
dir_name.zip
can anyone help me
Thanks in advance