-
September 19th, 2014, 02:23 AM
#1
Assigning library items as objects (or variable)
I would like to do the following with a compressed file:
1.) change file extension to zip
2.) Open the file (now a folder) and find all files within and assign them to an object or variable to be able to manipulate the files. Most of the containing files are of the same type and I can start from assuming they are all the same.
This problem is currently stopping all my work so I would be very thankful for any help/tips.
Thanks!
-
September 20th, 2014, 11:09 AM
#2
Re: Assigning library items as objects (or variable)
Changing the extension of a file does NOT change its contents.
The code will need to know the format of the content/internals of the file to be able to read it and get useful data from it.
Do you know how was the file created and what its internal format is?
Norm
-
September 22nd, 2014, 01:25 AM
#3
Re: Assigning library items as objects (or variable)
Yes I want to open a files with file extension slx (Matlab Simulink files). And the internal files are mainly xml which are the ones I want to manipulate as a DOM or similar.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|