Hello
I imported a txt file and then accidentally overwrote it as a txt file. I did not change any of the file’s contents, but the save command has resulted in an apparently corrupt txt file full of ‘gibberish’ characters.
Here's my code:
import delim using “C:\myfolder\myfile.txt”, delim(“|”)
save “C:\myfolder\myfile.txt”, replace
Is there any chance of restoring the original content, which presumably is still in there somewhere amongst all the gibberish characters?
Any advice greatly appreciated
With thanks
Related Posts with Accidentally saved as txt file
Selecting 3 controls per caseHello everyone. I know a couple of topics have covered this but I can't seem to figure out how to se…
test runHello! I apologize if some of the questions in this post seem simple, but this has to do with my the…
Read a list of variables in a loop, while ignoring some variables that don't existHello, I'm trying to use a list of variables that have suffixes based on years, using a loop. Howev…
Storing odds ratio and p-value in logit and ologit from multiple variablesHi everyone! I have 10 dependent variables (y1-y10) and 4 independent variables (x1-x4) with x1 as t…
practicing Code: xtreg zscore lnasset lnassetsq diverse leverage eeffqr DGS10 CPIAUCSL_PCH GDPC1_PC1, fe Fixe…
Subscribe to:
Post Comments (Atom)
0 Response to Accidentally saved as txt file
Post a Comment