Cisco Support Community
Community Member

Router Files in Flash

I have a 3745 router running 12.2 IOS. I am trying to rename some files in flash (name.old)and TFTP some new files in to test. This seems pretty straight forward, any help would be appreciated. Will rate.


Re: Router Files in Flash

copy bootflash:filename bootflash:

delete bootflash:filename

copy tftp: bootflash:

Hope that helps.

Community Member

Re: Router Files in Flash

Thanks. I only have "flash" not "bootflash". When I do issue the command though, I get "error opening flash:new-name (Device in exclusive use)" Ideas?

Community Member

Re: Router Files in Flash

RouterA#sh flash

-#- --length-- ---------date/time--------- path

1 24696600 Feb 28 1993 16:13:20 -08:00 c3745-advipservicesk9-mz.123-4.T4.bin

2 1888 Feb 28 1993 16:14:32 -08:00 sdmconfig-36xx-37xx.cfg

3 16264 Feb 28 1993 16:14:40 -08:00 sdm.shtml

4 3176448 Feb 28 1993 16:15:42 -08:00 sdm.tar

5 1462 Feb 28 1993 16:15:54 -08:00 home.html

6 216064 Feb 28 1993 16:16:06 -08:00 home.tar

7 22966284 Feb 28 2002 16:11:04 -08:00 c3745-jk9o3s-mz.123-10.bin

12791808 bytes available (51089408 bytes used)

RouterA#rename flash:c3745-advipservicesk9-mz.123-4.T4.bin test.bin

Destination filename [test.bin]?

RouterA#copy tftp flash

Address or name of remote host []?

Source filename []? c3745-jk9o3s-mz.123-11.bin

Destination filename [c3745-jk9o3s-mz.123-11.bin]?

RouterA#delete flash:c3745-advipservicesk9-mz.123-4.T4.bin

Delete filename [c3745-advipservicesk9-mz.123-4.T4.bin]?

Community Member

Re: Router Files in Flash

Thanks for the response. Unfortunately I do not have "rename" as an available command in any mode.

Community Member
Community Member

Re: Router Files in Flash

It does somewhat. I am unsure what a "class c" file system is in flash. Am I to understand that I cannot rename anything in my flash if the command is not available?

Will rate the response. Thanks.

Re: Router Files in Flash


If you are unable to rename a file then you may want to copy that file to a new name (copy File2 file3)

then delete file2

Hope this Helps



CreatePlease to create content