This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
kotorone1's profile picture

Changing which files can be accessed by a computer

Started by kotorone1, 04 October 2012 - 03:20 AM
kotorone1 #1
Posted 04 October 2012 - 05:20 AM
So here is the default file path for CC.

C:\Users\USERNAME\AppData\Roaming\.techniclauncher\tekkit\saves\WORLD_SAVE_NAME\computer\COMPUTER_ID_HERE

What class files or config files i would need to edit to allow a computer to access file outside of the COMPUTER_ID_HERE folder.

Thanks you very much for your guys' time,

Matt
jag #2
Posted 04 October 2012 - 05:36 AM
I don't know if you actually CAN do that…
But if you ment the files that comes with CC then go here:
%appdata%Roaming.techniclaunchertekkitmodsComputerCraftlua
Or for mac users:
~/Library/Application Support/techniclauncher/tekkit/mods/ComputerCraft/lua
kotorone1 #3
Posted 04 October 2012 - 06:10 AM
I don't know if you actually CAN do that…
But if you ment the files that comes with CC then go here:
%appdata%Roaming.techniclaunchertekkitmodsComputerCraftlua
Or for mac users:
~/Library/Application Support/techniclauncher/tekkit/mods/ComputerCraft/lua
i know how to edit the ROM programs, i was just wondering if it was physically possibly to change the computers scope.

Or, if thats not possible, can CC recongnise shortcuts? Im wondering this, because if i could make adirectory "XYZ", under the folder "COMPUTER_ID_HERE", be a link to somerwhere in mydocuments, it would make my life a lot easier.

edit: shortcuts dont really work (at least for a document), but is there any way to code around that?
chiloxsan #4
Posted 04 October 2012 - 06:33 AM
I know on *nix based systems you can make symbolic links to do that, but I'm not quite sure what the equivalent of that is on Windows systems.
Cloudy #5
Posted 04 October 2012 - 10:58 AM
The equivalent is… Symbolic links :(/>/> google them for windows and you'll find handy tools (though you can do it from the command line).
robhol #6
Posted 04 October 2012 - 01:11 PM
mklink on Windows, ln on linux and presumably mac. Both are command line tools.