FILEDIA System Variable

William Forty
William Forty

Quick one for today - the system variable FILEDIA.

I remember on more than one occasion when learning AutoCAD® tearing my hair out wondering why my SAVE dialog box had vanished, forcing me to input paths to the command line. Very frustrating... so this system variable can be a sanity-saver to know.

The default behaviour is determined by the FILEDIA system variable. Set it to 0 to hide dialog boxes, and 1 to display.

One of my subscribers Chris Thron got in touch with an excellent addition to this post. Although his comment is still below where you'd expect comments to be, I though it would be useful to include it in the main body of this post to make sure it is not missed:

"If you find this happens you need to open a drawing or template to activate the FILEDIA command so you have to input the path name at least once. To get round this on the path prompt enter “~” “enter” (tidle) and it open the dialog box"

Sanity saved.

Will


Comments

Chris Thron
2011-05-24 09:33:12

If you find this happens you need to open a drawing or template to activate the FILEDIA command so you have to input the path name at least once.

To get round this on the path prompt enter "~" "enter" (tidle) and it open the dialog box

Will
2011-05-24 10:02:02

Thank you very much Chris for a fantasic tip! I'll add this to the main post, with a credit for your excellent contribution!

Sarah
2011-06-02 03:15:03

Just wanted to say thank you for putting up this post! We've been trying to figure out why we couldn't save our Autocad files anywhere but the desktop for the last month, and we're so relieved to find out the solution was so simple! Kudos

Will
2011-06-21 09:01:44

No problem!

john coon
2011-06-02 16:56:58

Will,

The sys variable command CMDDIA is also a command that goes along with filedia in many cases. CMDDIA sets the if dialog boxes open if the comand uses a dialog box or if it is run from the command line.

If you runs scripts you want to add lines at the top of your script to set filedia and cmdddia set to 0 then as you come out of the script you want to re-set them back to 1 so the dialog boxes display again.

john

Will
2011-06-21 09:01:21

Thanks for the tip John.

vikas
2011-07-30 17:11:02

thanks sir , it was very helpfull