How to format hard drive
1 view (last 30 days)
Show older comments
I found several threads discussing the danger of using eval where some answers used eval and a string of visually encrypted codes to display With EVAL you never know what happens. It could have formatted your harddrive ...
eval(char('fkur*)Ykvj"GXCN"{qw"pgxgt"mpqy"yjcv"jcrrgpu0"Kv"eqwnf"jcxg"hqtocvvgf"{qwt"jctfftkxg"000)+'-2))
And it got me thinking about how to actually do it. Clearly it simply needs to eval a system() statement, but I remember harddisk formatting will have confirmation messages, how can the code overcome that?
2 Comments
Answers (0)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!