Index: import_net_cmd.c =================================================================== --- import_net_cmd.c (revision 37052) +++ import_net_cmd.c (revision 37053) @@ -75,8 +75,8 @@ if (verbose) rnd_message(RND_MSG_DEBUG, "import_net_cmd: running cmd: '%s' outfn='%s'\n", cmdline, outfn); - if (PCB->hidlib.filename != NULL) - rnd_setenv("IMPORT_NET_CMD_PCB", PCB->hidlib.filename, 1); + if (PCB->hidlib.loadname != NULL) + rnd_setenv("IMPORT_NET_CMD_PCB", PCB->hidlib.loadname, 1); rnd_setenv("IMPORT_NET_CMD_OUT", outfn, 1); res = rnd_system(&PCB->hidlib, cmdline); if (res == 0) {